From 8d7bba963192d1168781c5efba483742a077086a Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 3 Aug 2022 16:34:21 +0200 Subject: [PATCH] modulecmd: all group depths should be correct after initialisation. --- Pmodules/modulecmd.bash.in | 3 --- 1 file changed, 3 deletions(-) diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 186dfd3..25f1036 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -2911,9 +2911,6 @@ if [[ -z ${Version} ]] || [[ ${Version} != ${PMODULES_VERSION} ]]; then _LMFILES_ fi -if (( ${#GroupDepths[@]} == 0 )); then - scan_groups "${UsedOverlays[@]}" - g_env_must_be_saved='yes' fi # We need a tmp-file in the following sub-commands. It will be removed