mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
gptfdisk: 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:
committed by
Peter Korsgaard
parent
a0cefa916b
commit
a2d1301a04
@@ -37,7 +37,7 @@ endef
|
|||||||
|
|
||||||
define GPTFDISK_INSTALL_TARGET_CMDS
|
define GPTFDISK_INSTALL_TARGET_CMDS
|
||||||
for i in $(GPTFDISK_TARGETS_y); do \
|
for i in $(GPTFDISK_TARGETS_y); do \
|
||||||
$(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/sbin/$$i; \
|
$(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \
|
||||||
done
|
done
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user