diff options
-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." |