Skip to content

Commit

Permalink
Fix "test: unexpected operator" on bsd
Browse files Browse the repository at this point in the history
This fixes the same issue as a previous fix by Alex Riesen does.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Feb 12, 2006
1 parent c5e09c1 commit 4bbdfab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-sh-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4bbdfab

Please sign in to comment.