mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-08-10 21:20:29 +02:00
do not output hierarchical groups as hint
This commit is contained in:
@@ -337,7 +337,8 @@ subcommand_load() {
|
|||||||
output+="module use ${release}; "
|
output+="module use ${release}; "
|
||||||
fi
|
fi
|
||||||
local group=${line[2]}
|
local group=${line[2]}
|
||||||
if [[ ! ":${UsedGroups}:" =~ ":${group}:" ]]; then
|
if [[ ! ":${UsedGroups}:" =~ ":${group}:" ]] && \
|
||||||
|
(( ${GroupDepths[${group}]} == 0 )); then
|
||||||
output+="module use ${group}; "
|
output+="module use ${group}; "
|
||||||
fi
|
fi
|
||||||
output+="module load ${line[@]:3} ${line[0]}\n"
|
output+="module load ${line[@]:3} ${line[0]}\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user