mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-22 15:57:57 +02:00
Merge pull request #1399 from Pmodules/1398-fix-in-master
fix: modulecmd in un-use overlay incorrectly placed quotation mark
This commit is contained 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
|
||||
|
||||
Reference in New Issue
Block a user