From f9430563e58a849c49cfb587e9df441ec10eb573 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 28 Apr 2021 00:34:55 +0200 Subject: [PATCH] modulecmd.bash.in: cleanup --- Pmodules/modulecmd.bash.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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