]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
build: use @mkdir_p@ instead of @MKDIR_P@
authorVincent Bernat <vincent@bernat.im>
Sun, 1 Jan 2017 07:52:38 +0000 (08:52 +0100)
committerVincent Bernat <vincent@bernat.im>
Sun, 1 Jan 2017 07:52:38 +0000 (08:52 +0100)
Uppercase "variables" are otherwise only used for lldpd-specific stuff.

edit.am
src/daemon/lldpd.service.in

diff --git a/edit.am b/edit.am
index 56c232566998c2eee376ce58e0580003e291d1dc..ade52ce1b8819f24734d88a2549612fd561c6282 100644 (file)
--- a/edit.am
+++ b/edit.am
@@ -9,7 +9,7 @@ edit = $(SED) \
         -e 's|@includedir[@]|$(includedir)|g' \
         -e 's|@exec_prefix[@]|$(exec_prefix)|g' \
         -e 's|@prefix[@]|$(prefix)|g' \
-        -e 's|@MKDIR_P[@]|$(MKDIR_P)|g' \
+        -e 's|@mkdir_p[@]|$(mkdir_p)|g' \
         -e 's|@VERSION[@]|$(VERSION)|g' \
         -e 's|@PACKAGE[@]|$(PACKAGE)|g' \
         -e 's|@PACKAGE_NAME[@]|$(PACKAGE_NAME)|g' \
index b88a47ec4db4224c10fb6de89dffb5e3c9e580f6..4f4ff0ee79720b304f37411731342ad879168813 100644 (file)
@@ -9,7 +9,7 @@ Type=notify
 NotifyAccess=main
 EnvironmentFile=-/etc/default/lldpd
 EnvironmentFile=-/etc/sysconfig/lldpd
-ExecStartPre=@MKDIR_P@ @PRIVSEP_CHROOT@
+ExecStartPre=@mkdir_p@ @PRIVSEP_CHROOT@
 ExecStart=@sbindir@/lldpd $DAEMON_ARGS $LLDPD_OPTIONS
 Restart=on-failure
 PrivateTmp=yes