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