jimtcl: 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>
This commit is contained in:
parent
f0b663ce96
commit
4782c35f1d
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue