diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index a48d586..cc87938 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.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'