Merge branch '159-don-t-set-unset-pmodules_root-while-loading-removing-a-pmodule' into 'master'

Resolve "don't set/unset PMODULES_ROOT while loading/removing a Pmodule"

Closes #159

See merge request Pmodules/src!131
This commit is contained in:
2022-04-05 15:58:03 +00:00
+5
View File
@@ -9,6 +9,11 @@ module-help "
Pmodules are a hierarchical module environment based on Environment Modules.
"
#
# Pmodules >= 1.0.0rc11 set <PackageName>_ROOT
# But for Pmodules PMODULES_ROOT != PMODULES_DIR and should not be set.
#
set dont-setenv { "PMODULES_ROOT" }
#
# It might be that '${PMODULES_ROOT}/Tools/Pmodules/VERSION' is in PATH.
# Why? With older version the PATH might have been set without loading