aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorgareth2007-05-16 18:05:22 +0000
committergareth2007-05-16 18:05:22 +0000
commit1037a901c1f508fa7666c04d0a0535f83f11ba1c (patch)
treecea74f49da32332d1ffe6613ef37661a0e33d364
parentAdded proper errorlevels (diff)
downloadopensim-SC-1037a901c1f508fa7666c04d0a0535f83f11ba1c.zip
opensim-SC-1037a901c1f508fa7666c04d0a0535f83f11ba1c.tar.gz
opensim-SC-1037a901c1f508fa7666c04d0a0535f83f11ba1c.tar.bz2
opensim-SC-1037a901c1f508fa7666c04d0a0535f83f11ba1c.tar.xz
Added logging and more crap
-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."