Code

fix "test: 2: unexpected operator" on bsd
authorAlex Riesen <raa.lkml@gmail.com>
Sun, 12 Feb 2006 18:03:16 +0000 (19:03 +0100)
committerJunio C Hamano <junkio@cox.net>
Sun, 12 Feb 2006 19:36:17 +0000 (11:36 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t0000-basic.sh

index bc3e711a525f164f21132438d4d4e12e3dc10698..c339a366f4a107eeb12bdd596f2ade79a1f9f583 100755 (executable)
@@ -33,7 +33,7 @@ then
 fi
 
 merge >/dev/null 2>/dev/null
-if test $? == 127
+if test $? = 127
 then
        echo >&2 'You do not seem to have "merge" installed.
 Please check INSTALL document.'