diff options
author | ng0 <ng0@n0.is> | 2019-10-17 13:49:49 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-10-17 13:49:49 +0000 |
commit | 9d41ec39756a783c53bb06581ea189c95e08c4d6 (patch) | |
tree | 08263348bc5cbeaa8e0a5dc21fcf0fdaabb7184a /src/exit | |
parent | 22ad43e23641318de7f50084aa816a6fda14d7ec (diff) | |
download | gnunet-9d41ec39756a783c53bb06581ea189c95e08c4d6.tar.gz gnunet-9d41ec39756a783c53bb06581ea189c95e08c4d6.zip |
Add support for doas.
Diffstat (limited to 'src/exit')
-rw-r--r-- | src/exit/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/exit/Makefile.am b/src/exit/Makefile.am index b7286349d..bca0f1d9f 100644 --- a/src/exit/Makefile.am +++ b/src/exit/Makefile.am | |||
@@ -14,10 +14,18 @@ plugindir = $(libdir)/gnunet | |||
14 | dist_pkgcfg_DATA = \ | 14 | dist_pkgcfg_DATA = \ |
15 | exit.conf | 15 | exit.conf |
16 | 16 | ||
17 | if HAVE_SUDO | ||
18 | SUDO_OR_DOAS_BINARY= $(SUDO_BINARY) | ||
19 | else | ||
20 | if HAVE_DOAS_BINARY | ||
21 | SUDO_OR_DOAS_BINARY= $(DOAS_BINARY) | ||
22 | endif | ||
23 | endif | ||
24 | |||
17 | if LINUX | 25 | if LINUX |
18 | EXITBIN = gnunet-helper-exit | 26 | EXITBIN = gnunet-helper-exit |
19 | install-exec-hook: | 27 | install-exec-hook: |
20 | $(top_srcdir)/src/exit/install-exit-helper.sh $(DESTDIR)$(libexecdir) $(SUDO_BINARY) || true | 28 | $(top_srcdir)/src/exit/install-exit-helper.sh $(DESTDIR)$(libexecdir) $(SUDO_OR_DOAS_BINARY) || true |
21 | else | 29 | else |
22 | install-exec-hook: | 30 | install-exec-hook: |
23 | endif | 31 | endif |