diff options
author | gareth | 2007-05-06 15:04:10 +0000 |
---|---|---|
committer | gareth | 2007-05-06 15:04:10 +0000 |
commit | f4a7d8ec792075a50500e88c57c20b8b3ccc573b (patch) | |
tree | c73e6344ae2843036419d684b1241fd8d83d130c | |
parent | Fixed minor bug (diff) | |
download | opensim-SC_OLD-f4a7d8ec792075a50500e88c57c20b8b3ccc573b.zip opensim-SC_OLD-f4a7d8ec792075a50500e88c57c20b8b3ccc573b.tar.gz opensim-SC_OLD-f4a7d8ec792075a50500e88c57c20b8b3ccc573b.tar.bz2 opensim-SC_OLD-f4a7d8ec792075a50500e88c57c20b8b3ccc573b.tar.xz |
Updated to have uniform build number
Diffstat (limited to '')
-rwxr-xr-x | releng/makerel.sh | 5 | ||||
-rwxr-xr-x | releng/parsetmpl.sh | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/releng/makerel.sh b/releng/makerel.sh index 09b1f90..75d1f8c 100755 --- a/releng/makerel.sh +++ b/releng/makerel.sh | |||
@@ -4,6 +4,7 @@ | |||
4 | 4 | ||
5 | export OPENSIMMAJOR=0 | 5 | export OPENSIMMAJOR=0 |
6 | export OPENSIMMINOR=1 | 6 | export OPENSIMMINOR=1 |
7 | export BUILD=`date +%s` | ||
7 | export BRANCH=DEVEL | 8 | export BRANCH=DEVEL |
8 | export SVNURL=svn://openmetaverse.org/opensim/trunk | 9 | export SVNURL=svn://openmetaverse.org/opensim/trunk |
9 | 10 | ||
@@ -17,8 +18,8 @@ export SVNURL=svn://openmetaverse.org/opensim/trunk | |||
17 | ./createreldir.sh | 18 | ./createreldir.sh |
18 | rm -rf build | 19 | rm -rf build |
19 | 20 | ||
20 | tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-`date +%s`-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/* | 21 | tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/* |
21 | gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-`date +%s`-$BRANCH.tar | 22 | gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar |
22 | 23 | ||
23 | echo "Produced binary tarball ready for distribution." | 24 | echo "Produced binary tarball ready for distribution." |
24 | 25 | ||
diff --git a/releng/parsetmpl.sh b/releng/parsetmpl.sh index 8e4eac2..0ce6d24 100755 --- a/releng/parsetmpl.sh +++ b/releng/parsetmpl.sh | |||
@@ -2,4 +2,4 @@ | |||
2 | 2 | ||
3 | # this script parses a template to replace @@ tokens | 3 | # this script parses a template to replace @@ tokens |
4 | 4 | ||
5 | cat $1 | sed s/@@VERSION/$OPENSIMMAJOR.$OPENSIMMINOR/g | sed s/@@BUILD/`date +%s`/g | sed s/@@SVNREV/`svnversion`/g | 5 | cat $1 | sed s/@@VERSION/$OPENSIMMAJOR.$OPENSIMMINOR/g | sed s/@@BUILD/$BUILD/g | sed s/@@SVNREV/`svnversion`/g |