From a2d65a38d6e8bb7742a1c2d3e2f14f9705374e5e Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 27 Mar 2026 09:56:35 +0100 Subject: [PATCH] fix: modulecmd in un-use overlay incorrectly placed quotation mark --- 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 fe5c1e4..f44f27d 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -2226,7 +2226,7 @@ subcommand_unuse() { # remove root of overlay local -- dir='' for dir in "${modulepath[@]}"; do - [[ "${dir}"/* == "${OverlayInfo[${ol_name}:modulefiles_root]}/*" ]] && \ + [[ "${dir}"/* == "${OverlayInfo[${ol_name}:modulefiles_root]}"/* ]] && \ std::remove_path MODULEPATH "${dir}" done