mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-23 00:07:57 +02:00
modbuild: Set PATH on macOS to support Macports and Homebrew
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user