Merge branch 'master' into 32-overlay-implementation

This commit is contained in:
2019-06-17 17:40:56 +02:00
+2 -1
View File
@@ -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"