From c39422a10399878a6400ccab565f98ad25e94928 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 30 Nov 2014 15:18:25 +0100 Subject: [PATCH] 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 --- 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 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 -- 2.30.2