From 4bbdfab766782dc06ac496730e3a578bd35d67c5 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 12 Feb 2006 13:13:12 -0800 Subject: 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 --- git-sh-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-sh-setup.sh') diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 157c7e4d6c..025ef2d5f6 100755 --- a/git-sh-setup.sh +++ b/git-sh-setup.sh @@ -42,7 +42,7 @@ then # 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 -- cgit v1.2.3