From: Thomas Petazzoni Date: Sun, 30 Nov 2014 14:18:39 +0000 (+0100) Subject: xenomai: add error handling to for loop X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f26616a3086ee8874964dac38143d2577c72a699;p=buildroot.git xenomai: add error handling to for loop Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- 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