diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-11-30 15:18:28 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-12-01 23:30:01 +0100 |
commit | 93776d30fc921c959b6d9bd11e32bd51704f0e46 (patch) | |
tree | b91c2a5218dbc40c8e205c1dac65a7f016c54b4f | |
parent | 5e7c3648724b1f77e03f5730b7371d2d42df54ed (diff) | |
download | buildroot-93776d30fc921c959b6d9bd11e32bd51704f0e46.tar.gz buildroot-93776d30fc921c959b6d9bd11e32bd51704f0e46.zip |
ebtables: 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>
-rw-r--r-- | package/ebtables/ebtables.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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 |