From: Thomas Petazzoni Date: Sun, 30 Nov 2014 14:18:29 +0000 (+0100) Subject: flot: add error handling to for loop X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3bd3cbf90cc8b51b7d86ef80df192db9dcc2f817;p=buildroot.git flot: 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/flot/flot.mk b/package/flot/flot.mk index 79bdf1faea..58e3ff1276 100644 --- a/package/flot/flot.mk +++ b/package/flot/flot.mk @@ -27,7 +27,7 @@ FLOT_FILES = jquery.flot $(addprefix jquery.flot.,\ define FLOT_INSTALL_TARGET_CMDS for i in $(FLOT_FILES); do \ - $(INSTALL) -m 0644 -D $(@D)/$$i.min.js $(TARGET_DIR)/var/www/$$i.js; \ + $(INSTALL) -m 0644 -D $(@D)/$$i.min.js $(TARGET_DIR)/var/www/$$i.js || exit 1; \ done endef