Merge branch '181-modbuild-fix-path-for-macos' into 'Pmodules-1.0'

Resolve "modbuild: fix PATH for macOS"

See merge request Pmodules/src!154
This commit is contained in:
2023-01-16 10:45:39 +00:00
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