Skip to contentSkip to conversation

fix "test: 2: unexpected operator" on bsd

PATCH New Alex Riesen 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix "test: 2: unexpected operator" on bsd

---

 t/t0000-basic.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

4ce9a3f9fe30e091411811a905cccbffcb45ee58

t/t0000-basic.sh +1 -1
index bc3e711..c339a36 100755
@@ -33,7 +33,7 @@ then
 fi
 
 merge >/dev/null 2>/dev/null
-if test $? == 127
+if test $? = 127
 then
 	echo >&2 'You do not seem to have "merge" installed.
 Please check INSTALL document.'
Signature · 1 line
1.1.6.gd46b