aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/genvers.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xgenvers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/genvers.sh b/genvers.sh
index 3da91d7..7b26855 100755
--- a/genvers.sh
+++ b/genvers.sh
@@ -3,7 +3,7 @@
3MAJOR=0 3MAJOR=0
4MINOR=1 4MINOR=1
5BUILD=`date +%s` 5BUILD=`date +%s`
6REVISION=`svnversion | sed s/:// | sed s/M//` 6REVISION=`svnversion . | sed s/:// | sed s/M//`
7REALREVISION=`svnversion` 7REALREVISION=`svnversion`
8cat src/VersionInfo.cs.template | sed s/@@VERSION/"$MAJOR.$MINOR, Build $BUILD, Revision $REALREVISION"/g >src/VersionInfo.cs 8cat src/VersionInfo.cs.template | sed s/@@VERSION/"$MAJOR.$MINOR, Build $BUILD, Revision $REALREVISION"/g >src/VersionInfo.cs
9echo -n $MAJOR.$MINOR.*.$REVISION >VERSION 9echo -n $MAJOR.$MINOR.*.$REVISION >VERSION