Skip to content

Commit d2c54b9

Browse files
committed
enhance vm-build-debug.sh to exit when there is a build failure
rather than continuing to start red5 with a broken build
1 parent 98abed7 commit d2c54b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bigbluebutton-apps/vm-build-debug.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ sudo /etc/init.d/red5 stop
55

66
# build
77
cd ~/dev/source/bigbluebutton/bigbluebutton-apps
8-
gradle resolveDeps war deploy
8+
gradle resolveDeps war deploy || exit
99

1010
# run
1111
cd /usr/share/red5/
12-
sudo -u red5 ./red5.sh
12+
sudo -u red5 ./red5.sh || exit
1313

1414
#return to working dir
1515
popd

0 commit comments

Comments
 (0)