From: Thomas Petazzoni Date: Sun, 30 Nov 2014 14:18:36 +0000 (+0100) Subject: qt5base: add error handling to for loop X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1af2db0f77cc98d57012f238afbceb203b9b739b;p=buildroot.git qt5base: add error handling to for loop Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- 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