diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 782c21f..725bc1f 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -1588,8 +1588,6 @@ subcommand_purge() { "no arguments allowd" fi "${modulecmd}" "${Shell}" "${subcommand}" - reset_modulepath - reset_used_groups export_env MODULEPATH }