From 3bd3cbf90cc8b51b7d86ef80df192db9dcc2f817 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 30 Nov 2014 15:18:29 +0100 Subject: [PATCH] flot: add error handling to for loop Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/flot/flot.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2