mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-18 19:54:08 +01:00
do not output hierarchical groups as hint
This commit is contained in:
1 parent
6d4374951b
commit
0bf87e3e66
1 file changed
+2
-1
@@ -337,7 +337,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