From f4a7d8ec792075a50500e88c57c20b8b3ccc573b Mon Sep 17 00:00:00 2001 From: gareth Date: Sun, 6 May 2007 15:04:10 +0000 Subject: [PATCH] Updated to have uniform build number --- releng/makerel.sh | 5 +++-- releng/parsetmpl.sh | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/releng/makerel.sh b/releng/makerel.sh index 09b1f902f3..75d1f8c17f 100755 --- a/releng/makerel.sh +++ b/releng/makerel.sh @@ -4,6 +4,7 @@ export OPENSIMMAJOR=0 export OPENSIMMINOR=1 +export BUILD=`date +%s` export BRANCH=DEVEL export SVNURL=svn://openmetaverse.org/opensim/trunk @@ -17,8 +18,8 @@ export SVNURL=svn://openmetaverse.org/opensim/trunk ./createreldir.sh rm -rf build -tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-`date +%s`-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/* -gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-`date +%s`-$BRANCH.tar +tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/* +gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar echo "Produced binary tarball ready for distribution." diff --git a/releng/parsetmpl.sh b/releng/parsetmpl.sh index 8e4eac2328..0ce6d24385 100755 --- a/releng/parsetmpl.sh +++ b/releng/parsetmpl.sh @@ -2,4 +2,4 @@ # this script parses a template to replace @@ tokens -cat $1 | sed s/@@VERSION/$OPENSIMMAJOR.$OPENSIMMINOR/g | sed s/@@BUILD/`date +%s`/g | sed s/@@SVNREV/`svnversion`/g +cat $1 | sed s/@@VERSION/$OPENSIMMAJOR.$OPENSIMMINOR/g | sed s/@@BUILD/$BUILD/g | sed s/@@SVNREV/`svnversion`/g