mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 10:03:08 +02:00
modulecmd.bash.in: cleanup
This commit is contained 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
|
||||
|
||||
Reference in New Issue
Block a user