aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-02 15:37:42 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-02 15:37:42 +0000
commitd825f9ccd99b0b74278c8773ee6fba2d7974a1a9 (patch)
tree27d57109b43fc3f090be810a30901307e106cfda /src
parent9c3523a5786f8e961edf791eb9c2c6cc2149a60c (diff)
downloadgnunet-d825f9ccd99b0b74278c8773ee6fba2d7974a1a9.tar.gz
gnunet-d825f9ccd99b0b74278c8773ee6fba2d7974a1a9.zip
fixing #1820
Diffstat (limited to 'src')
-rw-r--r--src/nat/Makefile.am4
-rw-r--r--src/transport/Makefile.am4
-rw-r--r--src/vpn/Makefile.am8
3 files changed, 8 insertions, 8 deletions
diff --git a/src/nat/Makefile.am b/src/nat/Makefile.am
index 97758df62..5adab1ae5 100644
--- a/src/nat/Makefile.am
+++ b/src/nat/Makefile.am
@@ -18,8 +18,8 @@ NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client
18NATSERVER = gnunet-helper-nat-server.c 18NATSERVER = gnunet-helper-nat-server.c
19NATCLIENT = gnunet-helper-nat-client.c 19NATCLIENT = gnunet-helper-nat-client.c
20install-exec-hook: 20install-exec-hook:
21 chown root:root $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client $(nattest) || true 21 $(SUDO_BINARY) chown root:root $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client $(nattest) || true
22 chmod u+s $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client $(nattest) || true 22 $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client $(nattest) || true
23else 23else
24install-exec-hook: 24install-exec-hook:
25endif 25endif
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index 2b86a05ba..06bea95ba 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -40,8 +40,8 @@ endif
40 40
41if LINUX 41if LINUX
42install-exec-hook: 42install-exec-hook:
43 chown root:root $(bindir)/gnunet-transport-wlan-helper || true 43 $(SUDO_BINARY) chown root:root $(bindir)/gnunet-transport-wlan-helper || true
44 chmod u+s $(bindir)/gnunet-transport-wlan-helper || true 44 $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-transport-wlan-helper || true
45else 45else
46install-exec-hook: 46install-exec-hook:
47endif 47endif
diff --git a/src/vpn/Makefile.am b/src/vpn/Makefile.am
index 0c61aa904..d0abc6522 100644
--- a/src/vpn/Makefile.am
+++ b/src/vpn/Makefile.am
@@ -12,10 +12,10 @@ if LINUX
12VPNBIN = gnunet-helper-vpn 12VPNBIN = gnunet-helper-vpn
13HIJACKBIN = gnunet-helper-hijack-dns 13HIJACKBIN = gnunet-helper-hijack-dns
14install-exec-hook: 14install-exec-hook:
15 chown root:root $(bindir)/gnunet-helper-vpn || true 15 $(SUDO_BINARY) chown root:root $(bindir)/gnunet-helper-vpn || true
16 chmod u+s $(bindir)/gnunet-helper-vpn || true 16 $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-vpn || true
17 chown root:root $(bindir)/gnunet-helper-hijack-dns || true 17 $(SUDO_BINARY) chown root:root $(bindir)/gnunet-helper-hijack-dns || true
18 chmod u+s $(bindir)/gnunet-helper-hijack-dns || true 18 $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-hijack-dns || true
19else 19else
20install-exec-hook: 20install-exec-hook:
21endif 21endif