[Buildroot] [PATCH 37/51] rp-pppoe: bail out of installation fails
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Nov 23 20:39:09 UTC 2014
Add an "|| exit 1" in the installation loop, otherwise if one of the
file fails to install, the build doesn't abort.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/rp-pppoe/rp-pppoe.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/rp-pppoe/rp-pppoe.mk b/package/rp-pppoe/rp-pppoe.mk
index 6827628..4e17f2d 100644
--- a/package/rp-pppoe/rp-pppoe.mk
+++ b/package/rp-pppoe/rp-pppoe.mk
@@ -19,7 +19,7 @@ RP_PPPOE_CONF_ENV = \
define RP_PPPOE_INSTALL_TARGET_CMDS
for ff in $(RP_PPPOE_TARGET_FILES); do \
- $(INSTALL) -m 0755 $(@D)/src/$$ff $(TARGET_DIR)/usr/sbin/$$ff; \
+ $(INSTALL) -m 0755 $(@D)/src/$$ff $(TARGET_DIR)/usr/sbin/$$ff || exit 1; \
done
endef
--
2.1.0
More information about the buildroot
mailing list