fix arg checking

Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/275adced
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/275adced
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/275adced

Branch: refs/heads/master
Commit: 275adced65c7db80e06909c306b8943db47f2a50
Parents: bac43c8
Author: Dale LaBossiere <dlab...@us.ibm.com>
Authored: Mon Oct 31 11:14:08 2016 -0400
Committer: Dale LaBossiere <dlab...@us.ibm.com>
Committed: Mon Oct 31 11:14:08 2016 -0400

----------------------------------------------------------------------
 buildTools/check_sigs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/275adced/buildTools/check_sigs.sh
----------------------------------------------------------------------
diff --git a/buildTools/check_sigs.sh b/buildTools/check_sigs.sh
index 2eb30e4..764cd6d 100755
--- a/buildTools/check_sigs.sh
+++ b/buildTools/check_sigs.sh
@@ -22,7 +22,7 @@
 # Checks the signatures of all bundles in the build/release-edgent directory
 # Or checks the bundles in the specified directory
 
-if [ $1 == "-?" || $1 == "help" || $# -gt 1 ]
+if [ $1 == "-?" -o $1 == "help" -o $# -gt 1 ]
 then
     echo "Usage: check_sigs.sh [bundle-directory]"
     exit 1

Reply via email to