Skip to content

Commit

Permalink
Merge branch 'main' of ssh://github.com/TACC/Lmod
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLay committed Feb 5, 2025
2 parents 9b1c2ec + 08b71ad commit ed028cf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/tcl2lua.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,15 @@ proc module-info {what {more {}}} {
}
}
"shell" {
return $g_shellName
if {$more ne {}} {
if {$g_shellName eq $more} {
return 1
} else {
return 0
}
} else {
return $g_shellName
}
}
"shelltype" {
return $g_shellType
Expand Down

0 comments on commit ed028cf

Please sign in to comment.