libmodules.tcl: bugfix in module-addgroup{}

Removing a hierarchical group failed due to a bug in the computation
of the directory to be removed.
This commit is contained in:
2023-07-03 17:57:57 +02:00
parent da1517fb1f
commit 1d81b39de0
+1 -1
View File
@@ -126,7 +126,7 @@ proc module-addgroup { group } {
debug "mode=remove: $env(MODULEPATH)"
foreach overlay $::UsedOverlays {
set dir [file join \
$overlay \
$::OverlayInfo($overlay:mod_root) \
$group \
$::MODULEFILES_DIR \
{*}$::variant]