aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/releng
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xreleng/makerel.sh16
1 files changed, 10 insertions, 6 deletions
diff --git a/releng/makerel.sh b/releng/makerel.sh
index 259a2f9..b846ca5 100755
--- a/releng/makerel.sh
+++ b/releng/makerel.sh
@@ -14,12 +14,16 @@ export SVNURL=svn://openmetaverse.org/opensim/trunk
14 14
15# shouldn't have to change anything below here 15# shouldn't have to change anything below here
16 16
17./dobuild.sh $SVNURL 17script dobuild.log -c ./dobuild.sh $SVNURL
18./createreldir.sh 18if [ ! $? -eq 0 ]
19rm -rf build 19then
20 20 echo "Build failed!"
21tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/* 21else
22gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar 22 script createrel.log -c ./createreldir.sh
23 rm -rf build
24 tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/*
25 gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar
26fi
23 27
24rm -rf opensim-$OPENSIMMAJOR.$OPENSIMMINOR 28rm -rf opensim-$OPENSIMMAJOR.$OPENSIMMINOR
25echo "Produced binary tarball ready for distribution." 29echo "Produced binary tarball ready for distribution."