From: Thomas Petazzoni Date: Sun, 30 Nov 2014 14:18:33 +0000 (+0100) Subject: jimtcl: add error handling to for loop X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4782c35f1d99d8d3fb61025ce2bfdd68d9b1d6ae;p=buildroot.git jimtcl: 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/jimtcl/jimtcl.mk b/package/jimtcl/jimtcl.mk index 27f43f02c4..add61d6935 100644 --- a/package/jimtcl/jimtcl.mk +++ b/package/jimtcl/jimtcl.mk @@ -51,7 +51,7 @@ endef define JIMTCL_INSTALL_STAGING_CMDS for i in $(JIMTCL_HEADERS_TO_INSTALL); do \ - cp -a $(@D)/$$i $(STAGING_DIR)/usr/include/ ; \ + cp -a $(@D)/$$i $(STAGING_DIR)/usr/include/ || exit 1 ; \ done; \ $(INSTALL) -D $(@D)/libjim.$(JIMTCL_LIB) $(STAGING_DIR)/usr/lib/libjim.$(JIMTCL_LIB); ln -s libjim.$(JIMTCL_LIB) $(STAGING_DIR)/usr/lib/libjim.so