Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 12 lines (8 sloc) 0.328 kb
#!/bin/bash
# replace the revision number in debian/changelog to the last time this
# Subtree was modified
svnrevision=`svn info . | grep "Last Changed Rev" | sed 's/Last Changed Rev: //'`
svnrevision=${svnrevision/M/}
if [ -n "${svnrevision}" ] ; then
perl -p -i -e "s/\(\S+\)/\(${svnrevision}\)/;" debian/changelog
fi
Jump to Line
Something went wrong with that request. Please try again.