aboutsummaryrefslogtreecommitdiff
path: root/package/rp-pppoe/rp-pppoe.mk
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-30 15:18:25 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-12-01 23:24:27 +0100
commitc39422a10399878a6400ccab565f98ad25e94928 (patch)
tree4bd4fb57c47b0722f7e8ee6d4b0060d0cdf68fb0 /package/rp-pppoe/rp-pppoe.mk
parente4c06aeb1a974c4d0007814e0f845c7d856122cf (diff)
downloadbuildroot-c39422a10399878a6400ccab565f98ad25e94928.tar.gz
buildroot-c39422a10399878a6400ccab565f98ad25e94928.tar.bz2
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 <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/rp-pppoe/rp-pppoe.mk')
-rw-r--r--package/rp-pppoe/rp-pppoe.mk2
1 files changed, 1 insertions, 1 deletions
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