modulecmd.bash.in: cleanup

This commit is contained in:
2021-04-28 00:34:55 +02:00
parent a75e766cbc
commit f9430563e5
+1 -5
View File
@@ -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