From f26616a3086ee8874964dac38143d2577c72a699 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 30 Nov 2014 15:18:39 +0100 Subject: [PATCH] xenomai: add error handling to for loop Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/xenomai/xenomai.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk index 740a40b96e..ccbae35864 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 -- 2.30.2