aboutsummaryrefslogtreecommitdiff
path: root/cbt
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-03-12 13:01:32 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2017-03-12 13:01:32 -0400
commitadf8e6949f9fdad5f8cfc0e046666f28b9085a2f (patch)
treef60c293c5c7c22cd49aa1940c9bad2be88fe25bb /cbt
parent12f26b9187eaebb42400bef5cf85f7355b19bb61 (diff)
downloadcbt-adf8e6949f9fdad5f8cfc0e046666f28b9085a2f.tar.gz
cbt-adf8e6949f9fdad5f8cfc0e046666f28b9085a2f.tar.bz2
cbt-adf8e6949f9fdad5f8cfc0e046666f28b9085a2f.zip
drop "direct" arg already in shell script
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