aboutsummaryrefslogtreecommitdiff
path: root/package/lockfile-progs/lockfile-progs.mk
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-30 15:18:35 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-12-01 23:32:50 +0100
commitef1c109e6fbc998d347e87247cff010c27a45de1 (patch)
treec3db8295f7f8a234555c418818f8f42768c946f6 /package/lockfile-progs/lockfile-progs.mk
parent43ebd93e1fcb96d9d7dc26f7611246abb92b0d1d (diff)
downloadbuildroot-ef1c109e6fbc998d347e87247cff010c27a45de1.tar.gz
buildroot-ef1c109e6fbc998d347e87247cff010c27a45de1.tar.bz2
lockfile-progs: add error handling to for loop
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/lockfile-progs/lockfile-progs.mk')
-rw-r--r--package/lockfile-progs/lockfile-progs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/lockfile-progs/lockfile-progs.mk b/package/lockfile-progs/lockfile-progs.mk
index e2e0a44e17..deb9f90812 100644
--- a/package/lockfile-progs/lockfile-progs.mk
+++ b/package/lockfile-progs/lockfile-progs.mk
@@ -21,7 +21,7 @@ endef
define LOCKFILE_PROGS_INSTALL_TARGET_CMDS
for i in $(LOCKFILE_BINS); do \
- $(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i; \
+ $(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i || exit 1; \
done
endef