mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
makefiles: avoid grep
Avoid getting annoyting grep warning and use just awk to get the value.
This commit is contained in:
parent
c1cecc3dc5
commit
e0c95f15a7
@ -20,7 +20,7 @@ include $(top_builddir)/make.tmpl
|
||||
DM_RULES=10-dm.rules 13-dm-disk.rules 95-dm-notify.rules
|
||||
LVM_RULES=11-dm-lvm.rules 69-dm-lvm.rules
|
||||
|
||||
DM_DIR=$(shell $(GREP) "\#define DM_DIR" $(top_srcdir)/libdm/misc/dm-ioctl.h | $(AWK) '{print $$3}')
|
||||
DM_DIR=$(shell $(AWK) '/\#define DM_DIR/ {print $$3}' $(top_srcdir)/libdm/misc/dm-ioctl.h)
|
||||
|
||||
SYSTEMDRUN=@SYSTEMD_RUN_CMD@
|
||||
ifeq ("@UDEV_RULE_EXEC_DETECTION@", "yes")
|
||||
|
Loading…
Reference in New Issue
Block a user