Ignore:
Timestamp:
Dec 30, 2009, 3:36:32 PM (15 years ago)
Author:
broder
Message:

I don't trust test's boolean operators.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/git-hooks/sub/update

    r2539 r2813  
    1414fi
    1515
    16 if [ -z "$ref" -o -z "$oldrev" -o -z "$newrev" ]; then
     16if [ -z "$ref" ] || [ -z "$oldrev" ] || [ -z "$newrev" ]; then
    1717        echo "Usage: $0 <ref> <oldrev> <newrev>" >&2
    1818        exit 1
Note: See TracChangeset for help on using the changeset viewer.