From b14bf6e42f681321bde786e410006bed6c626849 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 2 Feb 2021 12:43:43 +0100 Subject: [PATCH] bugfix in subcommand_avail() --- Pmodules/modulecmd.bash.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 30636ca..862990f 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -1087,7 +1087,7 @@ subcommand_avail() { group='other' find_overlay overlay group "${dir}" if [[ ${modulepath_of_group[${group}]} ]]; then - if [[ "${Overlays[${overlay}]}" != "g" ]] + if [[ "${Overlays[${overlay}]}" != "g" ]]; then modulepath_of_group[${group}]+=:${dir} fi else