From cc7b4b10cd351eaabd5d134df63fa3c4e43c6fbb Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 28 Apr 2021 00:40:41 +0200 Subject: [PATCH] modulecmd.bash.in: is_group(): upvar with $1 must be declared local --- Pmodules/modulecmd.bash.in | 1 + 1 file changed, 1 insertion(+) 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}"