summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-05-30 12:37:44 -0400
committerAndrew Cady <d@jerkface.net>2020-05-30 13:02:22 -0400
commit6d9dfd28cd3190570e2a3e4d6c057c55191df995 (patch)
tree948e4f6d067ab9077bac7f96a32e649dff8f6505 /src
parent54c0b33461aa51e3064490d5faaa6600deaa3a22 (diff)
control.sh: support sbin and libexec dirs
All of the other GNU autoconf variables could be supported in the same way, eventually.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/control.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/control.sh b/src/control.sh
index ea5fa97..3491955 100755
--- a/src/control.sh
+++ b/src/control.sh
@@ -13,10 +13,12 @@ Origin: ${ORIGIN}
13Maintainer: ${MAINTAINER} 13Maintainer: ${MAINTAINER}
14END 14END
15 15
16# See https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
17
16if [ "$exec_prefix" ] 18if [ "$exec_prefix" ]
17then 19then
18 set -- 20 set --
19 for f in bin/* 21 for f in bin/* sbin/* libexec/*
20 do 22 do
21 if [ -f "$f" ] 23 if [ -f "$f" ]
22 then set -- "$@" "$f ${exec_prefix}" 24 then set -- "$@" "$f ${exec_prefix}"