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>
This commit is contained in:
parent
2d9e954c44
commit
f26616a308
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue