do not reset MODULEPATH and used groups in sub-command 'purge'

This commit is contained in:
2020-05-25 10:00:44 +02:00
parent 5c795efc6f
commit c187ac01a3
-2
View File
@@ -1588,8 +1588,6 @@ subcommand_purge() {
"no arguments allowd"
fi
"${modulecmd}" "${Shell}" "${subcommand}"
reset_modulepath
reset_used_groups
export_env MODULEPATH
}