@matheusbsbs / matheus-bagliano / commits / 4bbdfab766
Fork 0

Fix "test: unexpected operator" on bsd

This fixes the same issue as a previous fix by Alex Riesen does. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Feb 12, 2006 at 13:13 UTC 4bbdfab766782dc06ac496730e3a578bd35d67c5
1 file changed +1 -1
git-sh-setup.sh
+1 -1
@@ -42,7 +42,7 @@ then
42
43 # Make sure we are in a valid repository of a vintage we understand.
44 GIT_DIR="$GIT_DIR" git repo-config --get core.nosuch >/dev/null
45 - if test $? == 128
45 + if test $? = 128
46 then
47 exit
48 fi