Module: xenomai-forge
Branch: master
Commit: 20ad12748bf31e372460900bda74a03acba0cad7
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=20ad12748bf31e372460900bda74a03acba0cad7

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Sep 26 10:31:46 2014 +0200

build: invoke sudo only when available for installing udev rules

Originally from Paul Corner <pau...@tuxcnc.org> for Xenomai 2.6.x.

http://www.xenomai.org/pipermail/xenomai/2014-September/031647.html

---

 Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 7b3c9e7..eb3b147 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -58,7 +58,7 @@ echo '*** privileges.' ; \
           done ; \
        else if test -d $(DESTDIR)/etc/udev/rules.d ; then \
              for f in $(srcdir)/kernel/cobalt/udev/*.rules ; do \
-                sudo cp $$f $(DESTDIR)/etc/udev/rules.d/ ; \
+                $$sudo cp $$f $(DESTDIR)/etc/udev/rules.d/ ; \
              done ; \
           fi ; \
        fi ; \


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to