Skip to content

Commit

Permalink
enhance vm-build-debug.sh to exit when there is a build failure
Browse files Browse the repository at this point in the history
rather than continuing to start red5 with a broken build
  • Loading branch information
jthomerson committed Mar 1, 2011
1 parent 98abed7 commit d2c54b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bigbluebutton-apps/vm-build-debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ sudo /etc/init.d/red5 stop

# build
cd ~/dev/source/bigbluebutton/bigbluebutton-apps
gradle resolveDeps war deploy
gradle resolveDeps war deploy || exit

# run
cd /usr/share/red5/
sudo -u red5 ./red5.sh
sudo -u red5 ./red5.sh || exit

#return to working dir
popd

0 comments on commit d2c54b9

Please sign in to comment.