diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-12 13:01:32 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-12 13:01:32 -0400 |
commit | adf8e6949f9fdad5f8cfc0e046666f28b9085a2f (patch) | |
tree | f60c293c5c7c22cd49aa1940c9bad2be88fe25bb /cbt | |
parent | 12f26b9187eaebb42400bef5cf85f7355b19bb61 (diff) | |
download | cbt-adf8e6949f9fdad5f8cfc0e046666f28b9085a2f.tar.gz cbt-adf8e6949f9fdad5f8cfc0e046666f28b9085a2f.tar.bz2 cbt-adf8e6949f9fdad5f8cfc0e046666f28b9085a2f.zip |
drop "direct" arg already in shell script
Diffstat (limited to 'cbt')
-rwxr-xr-x | cbt | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |