From fb5a4bff07c34012cc188ff5d8c3d174e9d8c131 Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 23 Oct 2019 20:24:46 +0000 Subject: first test commit to make sudo + sh scripts obsolete. install(1) is too unportable to handle this job so we take the content of the scripts. --- src/transport/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/transport/Makefile.am') diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am index 178ecc737..b690fa345 100644 --- a/src/transport/Makefile.am +++ b/src/transport/Makefile.am @@ -103,9 +103,11 @@ endif if LINUX install-exec-hook: - $(top_srcdir)/src/transport/install-wlan-helper.sh $(DESTDIR)$(libexecdir) $(SUDO_OR_DOAS_BINARY) || true + chown root:root $(DESTDIR)$(libexecdir)/gnunet-helper-transport-wlan + chmod u+s $(DESTDIR)$(libexecdir)/gnunet-helper-transport-wlan if HAVE_LIBBLUETOOTH - $(top_srcdir)/src/transport/install-bluetooth-helper.sh $(DESTDIR)$(libexecdir) $(SUDO_OR_DOAS_BINARY) || true + chown root:root $(DESTDIR)$(libexecdir)/gnunet-helper-transport-bluetooth + chmod u+s $(DESTDIR)$(libexecdir)/gnunet-helper-transport-bluetooth endif else install-exec-hook: -- cgit v1.2.3