X-Git-Url: http://xvm.mit.edu/gitweb/invirt/scripts/git-hooks.git/blobdiff_plain/8aa71981347b3d516d7c6fda0f5f452a9ea85ded..HEAD:/sub/update diff --git a/sub/update b/sub/update index fbdde3d..2986daa 100755 --- a/sub/update +++ b/sub/update @@ -13,7 +13,7 @@ if [ -z "$GIT_DIR" ]; then exit 1 fi -if [ -z "$ref" -o -z "$oldrev" -o -z "$newrev" ]; then +if [ -z "$ref" ] || [ -z "$oldrev" ] || [ -z "$newrev" ]; then echo "Usage: $0 " >&2 exit 1 fi