We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05016f6 commit e4fa51dCopy full SHA for e4fa51d
.github/workflows/scripts/test_init_scripts.sh
@@ -41,7 +41,9 @@ for shell in ${SHELLS[@]}; do
41
# we work around this by creating a temporary .cshrc file (which sources
42
# the init script), and then use a here-string to specify the command to
43
# be run; the output is then processed as for other shells
44
- echo "source init/lmod/$shell 2> /dev/null" > .cshrc
+ echo "source init/lmod/$shell 2> /dev/null" > ~/.cshrc
45
+ cat ~/.cshrc
46
+ $shell -l <<< "alias"
47
MODULE_SECTIONS=($($shell -l <<< "module ov" 2>&1 | grep -e '---'))
48
else
49
MODULE_SECTIONS=($($shell -c "source init/lmod/$shell 2>/dev/null; module ov 2>&1 | grep -e '---'"))
0 commit comments