From: Thomas Petazzoni Date: Sun, 30 Nov 2014 14:18:32 +0000 (+0100) Subject: irda-utils: add error handling to for loop X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0b663ce9617d0ba53e6e8c15ab3feebdd4564d4;p=buildroot.git irda-utils: add error handling to for loop Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- diff --git a/package/irda-utils/irda-utils.mk b/package/irda-utils/irda-utils.mk index e4958e50f1..2c35dff791 100644 --- a/package/irda-utils/irda-utils.mk +++ b/package/irda-utils/irda-utils.mk @@ -32,7 +32,7 @@ IRDA_UTILS_SBINS- += $(IRDA_UTILS_SBINS-y) define IRDA_UTILS_INSTALL_TARGET_CMDS for i in $(IRDA_UTILS_SBINS-y); do \ - $(INSTALL) -m 0755 -D $(@D)/$$i/$$i $(TARGET_DIR)/usr/sbin/$$i; \ + $(INSTALL) -m 0755 -D $(@D)/$$i/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \ done endef