mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-20 04:34:05 +01:00
Merge branch 'master' into 32-overlay-implementation
This commit is contained in:
commit
dac0346ec2
1 file changed
+2
-1
@@ -386,7 +386,8 @@ subcommand_load() {
|
||||
output+="module use ${release}; "
|
||||
fi
|
||||
local group=${line[2]}
|
||||
if [[ ! ":${UsedGroups}:" =~ ":${group}:" ]]; then
|
||||
if [[ ! ":${UsedGroups}:" =~ ":${group}:" ]] && \
|
||||
(( ${GroupDepths[${group}]} == 0 )); then
|
||||
output+="module use ${group}; "
|
||||
fi
|
||||
output+="module load ${line[@]:3} ${line[0]}\n"
|
||||
|
||||
Reference in new issue
Block a user