package/lockfile-progs: rename variable
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 29 Nov 2017 23:08:41 +0000 (00:08 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 1 Dec 2017 21:56:26 +0000 (22:56 +0100)
We use package names as poor-man's namespace, so fix that.

Reported by utils/check-package.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lockfile-progs/lockfile-progs.mk

index 57df573d4a11739f50bf464f94383d3e420cc772..ed192f1028cb5e0a1bf5792eea510b78a8e067a3 100644 (file)
@@ -11,7 +11,7 @@ LOCKFILE_PROGS_DEPENDENCIES = liblockfile
 LOCKFILE_PROGS_LICENSE = GPL-2.0
 LOCKFILE_PROGS_LICENSE_FILES = COPYING
 
-LOCKFILE_BINS = \
+LOCKFILE_PROGS_BINS = \
        $(addprefix lockfile-,check create remove touch) \
        $(addprefix mail-,lock touchlock unlock)
 
@@ -20,7 +20,7 @@ define LOCKFILE_PROGS_BUILD_CMDS
 endef
 
 define LOCKFILE_PROGS_INSTALL_TARGET_CMDS
-       for i in $(LOCKFILE_BINS); do \
+       for i in $(LOCKFILE_PROGS_BINS); do \
                $(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i || exit 1; \
        done
 endef