diff options
author | Andrew Cady <d@jerkface.net> | 2020-05-30 12:37:44 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-05-30 13:02:22 -0400 |
commit | 6d9dfd28cd3190570e2a3e4d6c057c55191df995 (patch) | |
tree | 948e4f6d067ab9077bac7f96a32e649dff8f6505 /src | |
parent | 54c0b33461aa51e3064490d5faaa6600deaa3a22 (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-x | src/control.sh | 4 |
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} | |||
13 | Maintainer: ${MAINTAINER} | 13 | Maintainer: ${MAINTAINER} |
14 | END | 14 | END |
15 | 15 | ||
16 | # See https://www.gnu.org/prep/standards/html_node/Directory-Variables.html | ||
17 | |||
16 | if [ "$exec_prefix" ] | 18 | if [ "$exec_prefix" ] |
17 | then | 19 | then |
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}" |