From f0b663ce9617d0ba53e6e8c15ab3feebdd4564d4 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 30 Nov 2014 15:18:32 +0100 Subject: [PATCH] irda-utils: add error handling to for loop Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/irda-utils/irda-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2