Reverting bad conda_setup script

This broke anaconda because the CONDA_PREFIX is not defined.
Better to setup conda directly in the modulefile.
This commit is contained in:
Spencer Bliven
2020-10-28 11:13:17 +01:00
parent 832c480846
commit 1668e1d3fa
2 changed files with 1 additions and 16 deletions
+1 -2
View File
@@ -57,8 +57,7 @@ switch [module-info mode] {
# but we need to prevent conflicts with a conda from a different source.
# puts stderr "DEBUG: Using conda from $P/$V\n"
#puts stdout "source \"$PREFIX/conda/etc/profile.d/conda.sh\";\n"
puts stdout "source $PREFIX/admintools/conda_setup.sh;\n"
puts stdout "source \"$PREFIX/conda/etc/profile.d/conda.sh\";\n"
# Activate base? No: anaconda should just provide the conda tool
#puts stdout "conda activate;\n"