diff --git a/ci/setup_spack.sh b/ci/setup_spack.sh index 14f14482a4ea7b9f70fd6e74396a2abf6b56a684..6f4efe3590795e42e272dd60432bcc35f2c76d3b 100755 --- a/ci/setup_spack.sh +++ b/ci/setup_spack.sh @@ -74,7 +74,7 @@ do done done -if [ -d cp -r "${STACK_CONFIG_PATH}/templates" ${SPACK_SYSTEM_CONFIG_PATH} ] +if [ -d "${STACK_CONFIG_PATH}/templates" ] then cp -r "${STACK_CONFIG_PATH}/templates" ${STACK_LOCATION}/spack/share/spack fi