mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-08-09 12:40:29 +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.
|
* experimental support for modulecmd written in Tcl removed.
|
||||||
* The environment variable `PMODULES_TMPDIR` and `PMODILES_DISTFILESDIR`
|
* The environment variable `PMODULES_TMPDIR` and `PMODILES_DISTFILESDIR`
|
||||||
can now be used to override the values set in the configuration file.
|
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
|
## Version 1.0.0rc13
|
||||||
* same as 1.0.0rc12 but compiled on SL6
|
* 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
|
# so 'source' is able find them
|
||||||
|
|
||||||
if [[ $(uname -s) == 'Darwin' ]]; then
|
if [[ $(uname -s) == 'Darwin' ]]; then
|
||||||
PATH='/usr/local/bin:'
|
PATH='/opt/local/bin:/usr/local/bin:'
|
||||||
else
|
else
|
||||||
PATH=''
|
PATH=''
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user