modulecmd: search path fixed for macOS

- Pmodules libexec directory must be prepended - not appended
This commit is contained in:
2022-03-02 09:17:16 +01:00
parent b4e7044d4c
commit 4617b1ff39
+1 -1
View File
@@ -18,7 +18,7 @@ source "${libdir}/libstd.bash"
source "${libdir}/libpmodules.bash"
path="/bin:/usr/bin"
[[ $(uname -s) == 'Darwin' ]] && path+=":${libexecdir}"
[[ $(uname -s) == 'Darwin' ]] && path="${libexecdir}:${path}"
std::def_cmds "${path}" \
'awk' 'base64' 'find' 'getopt' 'logger' 'mktemp' \
'rm' 'sort' 'find'