File tree Expand file tree Collapse file tree
.github/workflows/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,10 +166,10 @@ for shell in ${SHELLS[@]}; do
166166 assert_raises ' echo "$TEST_EESSI_EXPLICIT_NO_PS1_UPDATE" | grep "$pattern"' 1
167167 assert_raises ' echo "$TEST_EESSI_EXPLICIT_NO_PS1_UPDATE_CALLED_TWICE" | grep "$pattern"' 1
168168 # Also check complex prompts, and unloading/purging the EESSI module
169- sed " s/__EESSI_VERSION_DEFAULT__/ ${EESSI_VERSION} / " init/lmod/sh > init/lmod/sh.test
170- ln -sr init/lmod/sh.test init/lmod/bash.test
171- ln -sr init/lmod/sh.test init/lmod/ksh.test
172- ln -sr init/lmod/sh.test init/lmod/zsh.test
169+ sed ' s|export MODULEPATH=.*|export MODULEPATH=init/modules| ' init/lmod/sh > init/lmod/sh.test
170+ ln -srf init/lmod/sh.test init/lmod/bash.test
171+ ln -srf init/lmod/sh.test init/lmod/ksh.test
172+ ln -srf init/lmod/sh.test init/lmod/zsh.test
173173 prompt=" \$ (echo '\['✘) $ "
174174 promptstr=" \[✘ $ "
175175 updated_promptstr=" {EESSI/${EESSI_VERSION} } \[✘ $ "
You can’t perform that action at this time.
0 commit comments