From adf8e6949f9fdad5f8cfc0e046666f28b9085a2f Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Sun, 12 Mar 2017 13:01:32 -0400 Subject: drop "direct" arg already in shell script --- cbt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cbt') 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 -- cgit v1.2.3