fixed genvers.sh

adam
gareth 2007-03-07 19:30:03 +00:00
parent ee214468c2
commit 61c9931830
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
MAJOR=0 MAJOR=0
MINOR=1 MINOR=1
BUILD=`date +%s` BUILD=`date +%s`
REVISION=`svnversion | sed s/:// | sed s/M//` REVISION=`svnversion . | sed s/:// | sed s/M//`
REALREVISION=`svnversion` REALREVISION=`svnversion`
cat src/VersionInfo.cs.template | sed s/@@VERSION/"$MAJOR.$MINOR, Build $BUILD, Revision $REALREVISION"/g >src/VersionInfo.cs cat src/VersionInfo.cs.template | sed s/@@VERSION/"$MAJOR.$MINOR, Build $BUILD, Revision $REALREVISION"/g >src/VersionInfo.cs
echo -n $MAJOR.$MINOR.*.$REVISION >VERSION echo -n $MAJOR.$MINOR.*.$REVISION >VERSION