[lvm-devel] [PATCH] The == operator is Bash syntax, use = instead

Ferenc Wágner wferi at niif.hu
Fri Jun 26 07:00:16 UTC 2015


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(-)

diff --git a/libdaemon/Makefile.in b/libdaemon/Makefile.in
index c0379a4..7a637c4 100644
--- a/libdaemon/Makefile.in
+++ b/libdaemon/Makefile.in
@@ -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
-- 
1.7.10.4




More information about the lvm-devel mailing list