From 0fd6fe2e68c7692c0248791c1afdc38cdd84dac6 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 27 Mar 2026 09:31:38 +0100 Subject: [PATCH] fix: modulecmd: incorrectly placed quotation mark fix in unuse overlay --- 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