mirror of
https://github.com/git-for-windows/git.git
synced 2025-12-13 00:06:03 -06:00
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>
This commit is contained in:
parent
c5e09c1fbe
commit
4bbdfab766
@ -42,7 +42,7 @@ then
|
|||||||
|
|
||||||
# Make sure we are in a valid repository of a vintage we understand.
|
# 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
|
GIT_DIR="$GIT_DIR" git repo-config --get core.nosuch >/dev/null
|
||||||
if test $? == 128
|
if test $? = 128
|
||||||
then
|
then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user