File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
.github/workflows/scripts Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -53,12 +53,8 @@ for shell in ${SHELLS[@]}; do
5353 # TEST 4: Load EasyBuild module and check version
5454 # eb --version outputs: "This is EasyBuild 5.1.1 (framework: 5.1.1, easyblocks: 5.1.1) on host ..."
5555 if [ " $shell " = " csh" ]; then
56- echo " source init/lmod/$shell >& /dev/null" > ~ /.cshrc
57- echo " TEST COMMANDS (just module load)"
58- $shell -c " module load EasyBuild/${EXPECTED_EASYBUILD_VERSION} "
59- echo " TEST COMMANDS (module load and eb --version ...)"
60- $shell -c " module load EasyBuild/${EXPECTED_EASYBUILD_VERSION} ; eb --version | cut -d \" \" -f4"
61- command=" $shell -c 'module load EasyBuild/${EXPECTED_EASYBUILD_VERSION} >& /dev/null; eb --version | cut -d \" \" -f4'"
56+ echo " source init/lmod/$shell " > ~ /.cshrc
57+ command=" $shell -c 'module load EasyBuild/${EXPECTED_EASYBUILD_VERSION} ; eb --version' | cut -d \" \" -f4"
6258 else
6359 command=" $shell -c 'source init/lmod/$shell 2>/dev/null; module load EasyBuild/${EXPECTED_EASYBUILD_VERSION} ; eb --version | cut -d \" \" -f4'"
6460 fi
You can’t perform that action at this time.
0 commit comments