@matheusbsbs / matheus-bagliano / commits / e42251a221
Fork 0

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>

Alex Riesen committed Apr 28, 2008 at 23:09 UTC e42251a221e44c0bd8438019da1c307def9a4ca8
1 file changed +1 -1
git-clone.sh
+1 -1
@@ -219,7 +219,7 @@ fi
219 if test -n "$2"
220 then
221 dir="$2"
222 - test $# == 2 || die "excess parameter to git-clone"
222 + test $# = 2 || die "excess parameter to git-clone"
223 else
224 # Derive one from the repository name
225 # Try using "humanish" part of source repo if user didn't specify one