diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index d16ca62..40c14a3 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -431,6 +431,7 @@ subcommand_load() { # hierarchical depth of a group must always be the same. # is_group () { + local "$1" find_an_overlay_providing_group () { local "$1" local -r group="$2/${PMODULES_MODULEFILES_DIR}"