diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index e319b7c..390fb2e 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -178,7 +178,7 @@ find_overlay () { local group="${path#${overlay}/}" group=${group%%/*} std::upvar $2 "${group}" - return 0 + return 0 } module_is_loaded() { @@ -302,10 +302,6 @@ subcommand_load() { local prefix='' local m='' - IFS=':' - local -a modulepath=(${MODULEPATH}) - IFS=${__IFS} - # # Test whether a given module is available. # The passed module-name can be