mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 10:03:08 +02:00
modulecmd: search path fixed for macOS
- Pmodules libexec directory must be prepended - not appended
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user