summaryrefslogtreecommitdiff
path: root/src/transport/Makefile.am
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-10-23 20:24:46 +0000
committerng0 <ng0@n0.is>2019-10-23 20:24:46 +0000
commitfb5a4bff07c34012cc188ff5d8c3d174e9d8c131 (patch)
tree0e801d5bbdf69705e2d4857994ec237ef60df00c /src/transport/Makefile.am
parentc4cd5da52ee63b5d920f3cb6f87e5a1a3140b148 (diff)
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.
Diffstat (limited to 'src/transport/Makefile.am')
-rw-r--r--src/transport/Makefile.am6
1 files changed, 4 insertions, 2 deletions
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: