aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/releng
diff options
context:
space:
mode:
Diffstat (limited to 'releng')
-rwxr-xr-xreleng/makerel.sh5
-rwxr-xr-xreleng/parsetmpl.sh2
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
5export OPENSIMMAJOR=0 5export OPENSIMMAJOR=0
6export OPENSIMMINOR=1 6export OPENSIMMINOR=1
7export BUILD=`date +%s`
7export BRANCH=DEVEL 8export BRANCH=DEVEL
8export SVNURL=svn://openmetaverse.org/opensim/trunk 9export 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
18rm -rf build 19rm -rf build
19 20
20tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-`date +%s`-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/* 21tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/*
21gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-`date +%s`-$BRANCH.tar 22gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar
22 23
23echo "Produced binary tarball ready for distribution." 24echo "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
5cat $1 | sed s/@@VERSION/$OPENSIMMAJOR.$OPENSIMMINOR/g | sed s/@@BUILD/`date +%s`/g | sed s/@@SVNREV/`svnversion`/g 5cat $1 | sed s/@@VERSION/$OPENSIMMAJOR.$OPENSIMMINOR/g | sed s/@@BUILD/$BUILD/g | sed s/@@SVNREV/`svnversion`/g