Skip to contentSkip to conversation

main - Revert "makefiles: fix grep warning from make"

PATCH Marian Csontos 1 participant 1 message Jan 25, 2023

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=49c650423a17197c66b1c839a0274db8fba9a7d9
Commit:        49c650423a17197c66b1c839a0274db8fba9a7d9
Parent:        ed808a9b548ca59221d512bfb7ae581e8367fe50
Author:        Marian Csontos <[email protected]>
AuthorDate:    Wed Jan 25 09:46:18 2023 +0100
Committer:     Marian Csontos <[email protected]>
CommitterDate: Wed Jan 25 09:46:18 2023 +0100

Revert "makefiles: fix grep warning from make"

This reverts commit 92199ad0b98586182a52e2f8cd82c06336e306f1.

This breaks make rpm.

---
 udev/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
udev/Makefile.in +1 -1
index ac4de0a6a..e777dda16 100644
@@ -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 $(GREP) "\#define DM_DIR" $(top_srcdir)/libdm/misc/dm-ioctl.h | $(AWK) '{print $$3}')
 
 BINDIR=@bindir@
 ifeq ("@UDEV_RULE_EXEC_DETECTION@", "yes")