File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
.github/workflows/scripts Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ for shell in ${SHELLS[@]}; do
4343 # be run; the output is then processed as for other shells
4444 echo " source init/lmod/$shell 2> /dev/null" > ~ /.cshrc
4545 cat ~ /.cshrc
46- $shell -l <<< " alias"
46+ $shell -l <<< " alias" 2> /dev/null
4747 MODULE_SECTIONS=($( $shell -l <<< " module ov" 2>&1 | grep -e ' ---' ) )
4848 else
4949 MODULE_SECTIONS=($( $shell -c " source init/lmod/$shell 2>/dev/null; module ov 2>&1 | grep -e '---'" ) )
@@ -57,7 +57,7 @@ for shell in ${SHELLS[@]}; do
5757 if [ " $shell " = " csh" ]; then
5858 echo " source init/lmod/$shell 2> /dev/null" > ~ /.cshrc
5959 cat ~ /.cshrc
60- $shell -l <<< " alias"
60+ $shell -l <<< " alias" 2> /dev/null
6161 command=" $shell -l <<< 'module load EasyBuild/${EXPECTED_EASYBUILD_VERSION} ; eb --version | cut -d \" \" -f4'"
6262 else
6363 command=" $shell -c 'source init/lmod/$shell 2>/dev/null; module load EasyBuild/${EXPECTED_EASYBUILD_VERSION} ; eb --version | cut -d \" \" -f4'"
@@ -67,8 +67,8 @@ for shell in ${SHELLS[@]}; do
6767 if [ " $shell " = " csh" ]; then
6868 echo " source init/lmod/$shell 2> /dev/null" > ~ /.cshrc
6969 cat ~ /.cshrc
70- $shell -l <<< " alias"
71- EASYBUILD_PATH=$( $shell -l " module load EasyBuild/${EXPECTED_EASYBUILD_VERSION} ; which eb" )
70+ $shell -l <<< " alias" 2> /dev/null
71+ EASYBUILD_PATH=$( $shell -l <<< " module load EasyBuild/${EXPECTED_EASYBUILD_VERSION}; which eb" )
7272 else
7373 EASYBUILD_PATH=$( $shell -c " source init/lmod/$shell 2>/dev/null; module load EasyBuild/${EXPECTED_EASYBUILD_VERSION} ; which eb" )
7474 fi
You can’t perform that action at this time.
0 commit comments