aboutsummaryrefslogtreecommitdiff
path: root/cbt
diff options
context:
space:
mode:
Diffstat (limited to 'cbt')
-rwxr-xr-xcbt6
1 files changed, 5 insertions, 1 deletions
diff --git a/cbt b/cbt
index 1f3d581..e14830e 100755
--- a/cbt
+++ b/cbt
@@ -155,7 +155,11 @@ else
fi
use_nailgun=0
-if [ $nailgun_installed -eq 1 ] || [ "$1" = "publishSigned" ] || [ "$2" = "publishSigned" ] || [ "$1" = "direct" ] || [ "$2" = "direct" ]; then
+if [ "$1" = "direct" ]; then
+ use_nailgun=1
+ shift
+fi
+if [ $nailgun_installed -eq 1 ] || [ "$1" = "publishSigned" ]; then
use_nailgun=1
fi