From 1d81b39de02b2bb98db267f74410d50140df51d7 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 3 Jul 2023 17:57:57 +0200 Subject: [PATCH] libmodules.tcl: bugfix in module-addgroup{} Removing a hierarchical group failed due to a bug in the computation of the directory to be removed. --- Pmodules/libmodules.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pmodules/libmodules.tcl b/Pmodules/libmodules.tcl index 5393e48..ad0f34c 100644 --- a/Pmodules/libmodules.tcl +++ b/Pmodules/libmodules.tcl @@ -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]