mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-15 09:30:49 +02:00
modulecmd.bash.in: is_group(): upvar with $1 must be declared local
This commit is contained in:
@@ -431,6 +431,7 @@ subcommand_load() {
|
|||||||
# hierarchical depth of a group must always be the same.
|
# hierarchical depth of a group must always be the same.
|
||||||
#
|
#
|
||||||
is_group () {
|
is_group () {
|
||||||
|
local "$1"
|
||||||
find_an_overlay_providing_group () {
|
find_an_overlay_providing_group () {
|
||||||
local "$1"
|
local "$1"
|
||||||
local -r group="$2/${PMODULES_MODULEFILES_DIR}"
|
local -r group="$2/${PMODULES_MODULEFILES_DIR}"
|
||||||
|
|||||||
Reference in New Issue
Block a user