diff options
author | gareth | 2007-05-16 18:05:22 +0000 |
---|---|---|
committer | gareth | 2007-05-16 18:05:22 +0000 |
commit | 1037a901c1f508fa7666c04d0a0535f83f11ba1c (patch) | |
tree | cea74f49da32332d1ffe6613ef37661a0e33d364 /releng/makerel.sh | |
parent | Added proper errorlevels (diff) | |
download | opensim-SC_OLD-1037a901c1f508fa7666c04d0a0535f83f11ba1c.zip opensim-SC_OLD-1037a901c1f508fa7666c04d0a0535f83f11ba1c.tar.gz opensim-SC_OLD-1037a901c1f508fa7666c04d0a0535f83f11ba1c.tar.bz2 opensim-SC_OLD-1037a901c1f508fa7666c04d0a0535f83f11ba1c.tar.xz |
Added logging and more crap
Diffstat (limited to 'releng/makerel.sh')
-rwxr-xr-x | releng/makerel.sh | 16 |
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 | 17 | script dobuild.log -c ./dobuild.sh $SVNURL |
18 | ./createreldir.sh | 18 | if [ ! $? -eq 0 ] |
19 | rm -rf build | 19 | then |
20 | 20 | echo "Build failed!" | |
21 | tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/* | 21 | else |
22 | gzip 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 | ||
26 | fi | ||
23 | 27 | ||
24 | rm -rf opensim-$OPENSIMMAJOR.$OPENSIMMINOR | 28 | rm -rf opensim-$OPENSIMMAJOR.$OPENSIMMINOR |
25 | echo "Produced binary tarball ready for distribution." | 29 | echo "Produced binary tarball ready for distribution." |