Changeset 2813


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

I don't trust test's boolean operators.

Location:
trunk/scripts/git-hooks
Files:
2 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
  • trunk/scripts/git-hooks/super/update

    r2802 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.