diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2008-04-29 01:09:55 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-04-29 02:03:28 +0400 |
commit | e42251a221e44c0bd8438019da1c307def9a4ca8 (patch) | |
tree | a1d2edccaf23cac5699458e1645515e18c4b6758 /git-clone.sh | |
parent | a2b26acd7afb4d77d8844ccd681e993f25e75205 (diff) |
Use "=" instead of "==" in condition as it is more portable
At least the dash from Ubuntu's /bin/sh says:
test: 233: ==: unexpected operator
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-clone.sh')
-rwxr-xr-x | git-clone.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-clone.sh b/git-clone.sh index 9e433c0808..8c7fc7f631 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -219,7 +219,7 @@ fi if test -n "$2" then dir="$2" - test $# == 2 || die "excess parameter to git-clone" + test $# = 2 || die "excess parameter to git-clone" else # Derive one from the repository name # Try using "humanish" part of source repo if user didn't specify one |