mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-13 09:33:59 +01:00
modulecmd: loading multiple modules fixed
This commit is contained in:
1 parent
6eaa400f0f
commit
45df61cc9c
1 file changed
+1
-2
@@ -712,10 +712,9 @@ subcommand_load() {
|
||||
(( ${#args[@]} == 0 )) && \
|
||||
die_missing_arg
|
||||
|
||||
IFS=':' read -r -a modulepath <<< "${MODULEPATH}"
|
||||
|
||||
local m=''
|
||||
for m in "${args[@]}"; do
|
||||
IFS=':' read -r -a modulepath <<< "${MODULEPATH}"
|
||||
if [[ "$m" =~ ":" ]]; then
|
||||
|
||||
# extendet module name is either
|
||||
|
||||
Reference in new issue
Block a user