1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

makefiles: avoid bash == operator syntax, use = instead

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

Origin patch by Ferenc Wágner <wferi@niif.hu>  changed later to
avoid using shell call, so makefile add 'server' target when
one of  metad or polld daemon is requested.
This commit is contained in:
Ferenc Wágner 2015-06-26 09:00:16 +02:00 committed by Zdenek Kabelac
parent 844707067b
commit a62cd64db6
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.123 -
=================================
Fix makefile shell compare == when building lvmetad lvmpolld (2.02.120).
Add --type full to lvmconfig for full configuration tree view.
Add undocumented environment variables to lvm man page. (2.02.119)
Add device synchronization point before activating a new snapshot.

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
# Copyright (C) 2004-2015 Red Hat, Inc. All rights reserved.
#
# This file is part of LVM2.
#
@ -19,7 +19,10 @@ top_builddir = @top_builddir@
SUBDIRS += client
ifeq (yes, $(shell test @BUILD_LVMETAD@ == yes -o @BUILD_LVMPOLLD@ == yes && echo yes))
ifeq (@BUILD_LVMETAD@,yes)
SUBDIRS += server
server: client
else ifeq (@BUILD_LVMPOLLD@,yes)
SUBDIRS += server
server: client
endif