Merge branch '36-fix-unloading-of-anaconda-environments-mixing-bash-tcl-in-unloader' into 'master'

fixing erroneous statement left from debugging

Closes #36

See merge request Pmodules/buildblocks!43
This commit is contained in:
2019-09-09 17:24:39 +02:00

View File

@@ -83,7 +83,7 @@ switch [module-info mode] {
# is not aware that the above bash statements will have modified the path
# upon the eval that is done by the outer "module" function.
puts stdout {PATH=$(echo $PATH| tr ':' '\n' | grep -v "$mydel" | tr '\n' ':'); export PATH=${PATH%:};}
puts stdout {PATH=$(echo $PATH| tr ':' '\n' | grep -v "$PREFIX/conda/condabin" | tr '\n' ':'); export PATH=${PATH%:};}
# remove the conda function definitions
unsetenv __conda_activate