diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-11-30 15:18:32 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-12-01 23:31:31 +0100 |
commit | f0b663ce9617d0ba53e6e8c15ab3feebdd4564d4 (patch) | |
tree | bfa46d09749b85af92db0ec4219a4034e44eec3e /package/irda-utils | |
parent | a2d1301a04c0f181d434d8329c959505d8f49ed5 (diff) | |
download | buildroot-f0b663ce9617d0ba53e6e8c15ab3feebdd4564d4.tar.gz buildroot-f0b663ce9617d0ba53e6e8c15ab3feebdd4564d4.zip |
irda-utils: 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/irda-utils')
-rw-r--r-- | package/irda-utils/irda-utils.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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 |