Skip to contentSkip to conversation

The == operator is Bash syntax, use = instead

PATCH New Ferenc Wágner 1 participant 1 message Jun 26, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 The == operator is Bash syntax, use = instead

Commit e587b0677b705786a78f21bac1966621f70b2752 broke the build on systems where /bin/sh is Dash, for example.

---
 libdaemon/Makefile.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libdaemon/Makefile.in +1 -1
index c0379a4..7a637c4 100644
@@ -19,7 +19,7 @@ top_builddir = @top_builddir@
 
 SUBDIRS += client
 
-ifeq (yes, $(shell test @BUILD_LVMETAD@ == yes -o @BUILD_LVMPOLLD@ == yes && echo yes))
+ifeq (yes, $(shell test @BUILD_LVMETAD@ = yes -o @BUILD_LVMPOLLD@ = yes && echo yes))
   SUBDIRS += server
 server: client
 endif
Signature · 1 line
1.7.10.4