aboutsummaryrefslogtreecommitdiff
path: root/package/sound-theme-borealis
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-30 15:18:38 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-12-02 00:13:41 +0100
commit2d9e954c443d64537d596ee652b7a63d2c16f5c2 (patch)
treebf8d909e188236cab749400a3a52f22dce58c530 /package/sound-theme-borealis
parent1af2db0f77cc98d57012f238afbceb203b9b739b (diff)
downloadbuildroot-2d9e954c443d64537d596ee652b7a63d2c16f5c2.tar.gz
buildroot-2d9e954c443d64537d596ee652b7a63d2c16f5c2.tar.bz2
sound-theme-borealis: 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/sound-theme-borealis')
-rw-r--r--package/sound-theme-borealis/sound-theme-borealis.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/sound-theme-borealis/sound-theme-borealis.mk b/package/sound-theme-borealis/sound-theme-borealis.mk
index a2f29a9d64..9242837bec 100644
--- a/package/sound-theme-borealis/sound-theme-borealis.mk
+++ b/package/sound-theme-borealis/sound-theme-borealis.mk
@@ -11,7 +11,7 @@ SOUND_THEME_BOREALIS_SOURCE = \
define SOUND_THEME_BOREALIS_INSTALL_TARGET_CMDS
for f in $(@D)/*.ogg ; do \
- $(INSTALL) -D -m 0644 $$f $(TARGET_DIR)/usr/share/sounds/borealis/stereo/`basename $$f` ; \
+ $(INSTALL) -D -m 0644 $$f $(TARGET_DIR)/usr/share/sounds/borealis/stereo/`basename $$f` || exit 1; \
done
endef