From 890b7c8e3298b0c68cdb49d04547ae9bf3ebefd7 Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Sun, 6 Mar 2016 18:23:48 -0500 Subject: fix bug with nailgun not being restarted after recompiling launcher --- cbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3