From: Thomas Petazzoni Date: Sun, 30 Nov 2014 14:18:25 +0000 (+0100) Subject: rp-pppoe: bail out if installation fails X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c39422a10399878a6400ccab565f98ad25e94928;p=buildroot.git rp-pppoe: bail out if installation fails 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 Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- diff --git a/package/rp-pppoe/rp-pppoe.mk b/package/rp-pppoe/rp-pppoe.mk index 682762870d..4e17f2d9fb 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