mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-30 11:19:39 +02:00
modulecmd.bash.in: bugfix in subcommand_load()
- PMODULES_OVERLAYS is used only in libmodule.tcl. Overlays must be appended!
This commit is contained in:
@@ -1276,7 +1276,7 @@ subcommand_use() {
|
||||
if [[ ! ${Overlays[${overlay}]} ]]; then
|
||||
Overlays[${overlay}]=${modifier}
|
||||
|
||||
PMODULES_OVERLAYS=${overlay}:${PMODULES_OVERLAYS}
|
||||
PMODULES_OVERLAYS+=":${overlay}""
|
||||
export_env PMODULES_OVERLAYS
|
||||
g_env_must_be_saved='yes'
|
||||
scan_groups "${!Overlays[@]}"
|
||||
|
||||
Reference in New Issue
Block a user