diff options
author | gareth | 2007-03-07 18:49:20 +0000 |
---|---|---|
committer | gareth | 2007-03-07 18:49:20 +0000 |
commit | 16476f06b867adf01fa0d17c6761f4a862fc17ad (patch) | |
tree | c3a1147578ae33d269812adfe8de5ece8c62d586 /ConvertToPlugins/genvers.sh | |
parent | Deleted old trunk code (diff) | |
download | opensim-SC_OLD-16476f06b867adf01fa0d17c6761f4a862fc17ad.zip opensim-SC_OLD-16476f06b867adf01fa0d17c6761f4a862fc17ad.tar.gz opensim-SC_OLD-16476f06b867adf01fa0d17c6761f4a862fc17ad.tar.bz2 opensim-SC_OLD-16476f06b867adf01fa0d17c6761f4a862fc17ad.tar.xz |
Imported branch
Diffstat (limited to '')
-rwxr-xr-x | ConvertToPlugins/genvers.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ConvertToPlugins/genvers.sh b/ConvertToPlugins/genvers.sh new file mode 100755 index 0000000..3da91d7 --- /dev/null +++ b/ConvertToPlugins/genvers.sh | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | MAJOR=0 | ||
4 | MINOR=1 | ||
5 | BUILD=`date +%s` | ||
6 | REVISION=`svnversion | sed s/:// | sed s/M//` | ||
7 | REALREVISION=`svnversion` | ||
8 | cat src/VersionInfo.cs.template | sed s/@@VERSION/"$MAJOR.$MINOR, Build $BUILD, Revision $REALREVISION"/g >src/VersionInfo.cs | ||
9 | echo -n $MAJOR.$MINOR.*.$REVISION >VERSION | ||