mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-08-12 14:00:31 +02:00
modulecmd/libpmodules.bash: interface of compute_group_depth() changed
retrun result in a reference variable
This commit is contained in:
@@ -484,7 +484,9 @@ subcommand_load() {
|
||||
local ol=''
|
||||
find_overlay_with_group ol "${group}" || return 1
|
||||
local moduledir="${OverlayInfo[${ol}:mod_root]}/${group}/${PMODULES_MODULEFILES_DIR}"
|
||||
compute_group_depth "${moduledir}" || return 1
|
||||
local -i depth
|
||||
compute_group_depth depth "${moduledir}" || return 1
|
||||
GroupDepths[${group}]=${depth}
|
||||
g_env_must_be_saved='yes'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user