modbuild: Set PATH on macOS to support Macports and Homebrew

This commit is contained in:
2023-01-16 11:43:45 +01:00
parent 5743bfda3e
commit 0edee2e2ee
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -9,6 +9,8 @@
* experimental support for modulecmd written in Tcl removed.
* The environment variable `PMODULES_TMPDIR` and `PMODILES_DISTFILESDIR`
can now be used to override the values set in the configuration file.
* Add /opt/local/bin (for Macports) and /usr/local/bin (for Homebrew) to
PATH on macOS.
## Version 1.0.0rc13
* same as 1.0.0rc12 but compiled on SL6
+1 -1
View File
@@ -18,7 +18,7 @@ declare -r mydir=$(cd ${mydir} && pwd -P)
# so 'source' is able find them
if [[ $(uname -s) == 'Darwin' ]]; then
PATH='/usr/local/bin:'
PATH='/opt/local/bin:/usr/local/bin:'
else
PATH=''
fi