From 6ec84993bd7af49e4b22e89754e2cb69581d68d5 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 8 Apr 2024 13:31:24 +0200 Subject: [PATCH] makefiles: avoid using # with awk Also awk got annoyed by this \# char sequence which is reported as incorrect, however older rpm builder were failing without this. So let's just try other variant. --- udev/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udev/Makefile.in b/udev/Makefile.in index 7bf184947..166a4572a 100644 --- a/udev/Makefile.in +++ b/udev/Makefile.in @@ -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 $(AWK) '/\#define DM_DIR/ {print $$3}' $(top_srcdir)/libdm/misc/dm-ioctl.h) +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")