source: osm/applications/editors/josm/debian/update_svn_revision.sh@ 5319

Last change on this file since 5319 was 4308, checked in by joerg, 17 years ago

first version of debian package for josm

  • Property svn:executable set to *
File size: 311 bytes
Line 
1svncorerevision=`svnversion core`
2svncorerevision=${svncorerevision/M/}
3svnpluginsrevision=`svnversion plugins`
4svnpluginsrevision=${svnpluginsrevision/M/}
5svnrevision="$svncorerevision$svnpluginsrevision"
6
7if [ -n "$svnrevision" ] ; then
8 perl -p -i -e "s/\(\S+\)/\(${svnrevision}\)/;" debian/changelog
9fi
10
Note: See TracBrowser for help on using the repository browser.