mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-30 23:57:47 +01:00
modbuild: Set PATH on macOS to support Macports and Homebrew
This commit is contained in:
1 parent
5743bfda3e
commit
0edee2e2ee
2 files changed
+3
-1
No files matched your search
@@ -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