summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-30 15:18:39 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-12-02 00:15:00 +0100
commitf26616a3086ee8874964dac38143d2577c72a699 (patch)
treef06b162a7c61706e9e226a2105d64975b801e23f
parent2d9e954c443d64537d596ee652b7a63d2c16f5c2 (diff)
xenomai: 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/xenomai/xenomai.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk
index 740a40b96..ccbae3586 100644
--- a/package/xenomai/xenomai.mk
+++ b/package/xenomai/xenomai.mk
@@ -99,7 +99,7 @@ XENOMAI_DEPENDENCIES += udev
define XENOMAI_INSTALL_UDEV_RULES
if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
for f in $(@D)/ksrc/nucleus/udev/*.rules ; do \
- cp $$f $(TARGET_DIR)/etc/udev/rules.d/ ; \
+ cp $$f $(TARGET_DIR)/etc/udev/rules.d/ || exit 1 ; \
done ; \
fi;
endef