Always use path without trailing slash
Only udevdir set its path with a trailing slash.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
diff --git a/Makefile b/Makefile
index 517b25c..3462aea 100644
--- a/Makefile
+++ b/Makefile
@@ -67,7 +67,7 @@
etcdir = ${prefix}/etc
sbindir = ${exec_prefix}/sbin
mandir = ${prefix}/usr/share/man
-udevdir = ${prefix}/lib/udev/
+udevdir = ${prefix}/lib/udev
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
@@ -251,7 +251,7 @@
$(QUIET) $(STRIPCMD) $@
udevrules:
- cat $(UDEV_RULES) | sed -e "s#__UDEVHELPERDIR__/#${udevhelperdir}#g" > $(UDEV_RULES_FILE)
+ cat $(UDEV_RULES) | sed -e "s#__UDEVHELPERDIR__#${udevhelperdir}#g" > $(UDEV_RULES_FILE)
clean:
-find . \( -not -type d \) -and \( -name '*~' -o -name '*.[oas]' \) -type f -print \