aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-03-06 18:23:48 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2016-03-06 18:23:48 -0500
commit890b7c8e3298b0c68cdb49d04547ae9bf3ebefd7 (patch)
treebd1b276628c0a7a84280b99b97a6b3cb02799055
parente414d2c186996ed5149940f0804387f1ef22c206 (diff)
downloadcbt-890b7c8e3298b0c68cdb49d04547ae9bf3ebefd7.tar.gz
cbt-890b7c8e3298b0c68cdb49d04547ae9bf3ebefd7.tar.bz2
cbt-890b7c8e3298b0c68cdb49d04547ae9bf3ebefd7.zip
fix bug with nailgun not being restarted after recompiling launcher
-rwxr-xr-xcbt2
1 files changed, 1 insertions, 1 deletions
diff --git a/cbt b/cbt
index 1f8e3cc..8cc10f1 100755
--- a/cbt
+++ b/cbt
@@ -130,7 +130,7 @@ stage1 () {
javac -Xlint:deprecation -d $NAILGUN$TARGET `ls $NAILGUN*.java`
compiles=$?
if [ $compiles -ne 0 ]; then exit 1; fi
- if [ $nailgun_installed -eq 1 ]; then
+ if [ $nailgun_installed -eq 0 ]; then
echo "Stopping nailgun" 1>&2
$NG ng-stop >> $NAILGUN/target/nailgun.stdout.log 2>> $NAILGUN/target/nailgun.stderr.log &
echo "Restarting nailgun" 1>&2