mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 22:13:34 +08:00
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>
This commit is contained in:
parent
43ebd93e1f
commit
ef1c109e6f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user