From ce9170958e7623409deda57b7ff06e04c4413968 Mon Sep 17 00:00:00 2001
From: Nicolas Richart <nicolas.richart@epfl.ch>
Date: Mon, 9 Sep 2024 23:45:27 +0200
Subject: [PATCH] Error due to copy/pasta

---
 ci/setup_spack.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci/setup_spack.sh b/ci/setup_spack.sh
index 14f1448..6f4efe3 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
-- 
GitLab