summaryrefslogtreecommitdiffstats
path: root/package/alsa-utils
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-30 15:18:26 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-12-01 23:25:08 +0100
commit1b5f3b16f4b3280b014d171f3f5b81b6340c75df (patch)
treeb359640b3bdc6d27b73eb8c867e0d0451a215894 /package/alsa-utils
parentc39422a10399878a6400ccab565f98ad25e94928 (diff)
downloadbuildroot-1b5f3b16f4b3280b014d171f3f5b81b6340c75df.tar.gz
buildroot-1b5f3b16f4b3280b014d171f3f5b81b6340c75df.zip
alsa-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/alsa-utils')
-rw-r--r--package/alsa-utils/alsa-utils.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/alsa-utils/alsa-utils.mk b/package/alsa-utils/alsa-utils.mk
index 17895c30af..a599af8f5e 100644
--- a/package/alsa-utils/alsa-utils.mk
+++ b/package/alsa-utils/alsa-utils.mk
@@ -46,7 +46,7 @@ ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST) += usr/bin/speaker-tes
define ALSA_UTILS_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/var/lib/alsa
for i in $(ALSA_UTILS_TARGETS_y); do \
- $(INSTALL) -D -m 755 $(STAGING_DIR)/$$i $(TARGET_DIR)/$$i; \
+ $(INSTALL) -D -m 755 $(STAGING_DIR)/$$i $(TARGET_DIR)/$$i || exit 1; \
done
if [ -x "$(TARGET_DIR)/usr/bin/speaker-test" ]; then \
mkdir -p $(TARGET_DIR)/usr/share/alsa/speaker-test; \
OpenPOWER on IntegriCloud