aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/genvers.sh
diff options
context:
space:
mode:
authorgareth2007-03-07 19:07:00 +0000
committergareth2007-03-07 19:07:00 +0000
commit2159b3079ec8df2a7337a9d4ea54810b7028c4e1 (patch)
tree5473123011f7a302e63f89ec6ccb4477032fd1db /genvers.sh
parentImported branch (diff)
downloadopensim-SC-2159b3079ec8df2a7337a9d4ea54810b7028c4e1.zip
opensim-SC-2159b3079ec8df2a7337a9d4ea54810b7028c4e1.tar.gz
opensim-SC-2159b3079ec8df2a7337a9d4ea54810b7028c4e1.tar.bz2
opensim-SC-2159b3079ec8df2a7337a9d4ea54810b7028c4e1.tar.xz
fixed last screwup
Diffstat (limited to 'genvers.sh')
-rwxr-xr-xgenvers.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/genvers.sh b/genvers.sh
new file mode 100755
index 0000000..3da91d7
--- /dev/null
+++ b/genvers.sh
@@ -0,0 +1,9 @@
1#!/bin/bash
2
3MAJOR=0
4MINOR=1
5BUILD=`date +%s`
6REVISION=`svnversion | sed s/:// | sed s/M//`
7REALREVISION=`svnversion`
8cat src/VersionInfo.cs.template | sed s/@@VERSION/"$MAJOR.$MINOR, Build $BUILD, Revision $REALREVISION"/g >src/VersionInfo.cs
9echo -n $MAJOR.$MINOR.*.$REVISION >VERSION