aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-30 15:18:36 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-12-01 23:33:14 +0100
commit1af2db0f77cc98d57012f238afbceb203b9b739b (patch)
tree42554526423f7f59008d97e226abd17150e2a529
parentef1c109e6fbc998d347e87247cff010c27a45de1 (diff)
downloadbuildroot-1af2db0f77cc98d57012f238afbceb203b9b739b.tar.gz
buildroot-1af2db0f77cc98d57012f238afbceb203b9b739b.tar.bz2
qt5base: 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>
-rw-r--r--package/qt5/qt5base/qt5base.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index 57ea1c8872..788b2d78eb 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -211,7 +211,7 @@ endef
define QT5BASE_INSTALL_TARGET_LIBS
for lib in $(QT5BASE_INSTALL_LIBS_y); do \
- cp -dpf $(STAGING_DIR)/usr/lib/lib$${lib}.so.* $(TARGET_DIR)/usr/lib ; \
+ cp -dpf $(STAGING_DIR)/usr/lib/lib$${lib}.so.* $(TARGET_DIR)/usr/lib || exit 1 ; \
done
endef