commit | 4bbdfab766782dc06ac496730e3a578bd35d67c5 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <junkio@cox.net> | Sun Feb 12 13:13:12 2006 -0800 |
committer | Junio C Hamano <junkio@cox.net> | Sun Feb 12 13:13:33 2006 -0800 |
tree | 6c2c00e3079fbee0492b9591065a598f6632d20b | |
parent | c5e09c1fbec5dc1c15bcfe21e1a600f9e4b4e419 [diff] |
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>
diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 157c7e4..025ef2d 100755 --- a/git-sh-setup.sh +++ b/git-sh-setup.sh
@@ -42,7 +42,7 @@ # Make sure we are in a valid repository of a vintage we understand. GIT_DIR="$GIT_DIR" git repo-config --get core.nosuch >/dev/null - if test $? == 128 + if test $? = 128 then exit fi