mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 10:03:08 +02:00
Merge branch '281-modulecmd-loading-multiple-modules-doesn-t-work-any-more' into 'master'
Resolve "modulecmd: loading multiple modules doesn't work any more" Closes #281 See merge request Pmodules/src!259
This commit is contained in:
@@ -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