From: Thomas Petazzoni Date: Sun, 30 Nov 2014 14:18:28 +0000 (+0100) Subject: ebtables: add error handling to for loop X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93776d30fc921c959b6d9bd11e32bd51704f0e46;p=buildroot.git ebtables: 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/ebtables/ebtables.mk b/package/ebtables/ebtables.mk index 578c3ae805..23c462874e 100644 --- a/package/ebtables/ebtables.mk +++ b/package/ebtables/ebtables.mk @@ -28,7 +28,7 @@ define EBTABLES_INSTALL_TARGET_CMDS $(@D)/$(EBTABLES_SUBDIR)/extensions/*.so; \ do \ $(INSTALL) -m 0755 -D $${so} \ - $(TARGET_DIR)/lib/ebtables/`basename $${so}`; \ + $(TARGET_DIR)/lib/ebtables/`basename $${so}` || exit 1; \ done $(INSTALL) -m 0755 -D $(@D)/$(EBTABLES_SUBDIR)/ebtables \ $(TARGET_DIR)/sbin/ebtables