modulecmd: all group depths should be correct after initialisation.

This commit is contained in:
2022-08-03 16:34:21 +02:00
parent b308bf252a
commit 8d7bba9631
-3
View File
@@ -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