Skip to content
Snippets Groups Projects
Commit 4d36cb31 authored by Fabian.Jakub's avatar Fabian.Jakub
Browse files

fix bash evaluation error

parent 90c8a03a
No related branches found
No related tags found
No related merge requests found
Pipeline #18806 failed
......@@ -30,7 +30,7 @@ function _install_spack() {
if [[ $(spack compiler info ${SPACK_COMPILER}) ]]; then
echo "Found Compiler $(spack compiler info ${SPACK_COMPILER})"
else
if $(spack location --install-dir ${SPACK_COMPILER}); then
if [[ $(spack location --install-dir ${SPACK_COMPILER}) ]]; then
echo "found the compiler ${SPACK_COMPILER} as a spack package at $(spack location --install-dir $SPACK_COMPILER)"
else
echo "could not find compiler, will now try to install it... this may take a while"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment