From 9961397ec83c1ab31403635dde624ecf07ad1181 Mon Sep 17 00:00:00 2001
From: Nicolas Richart <nicolas.richart@epfl.ch>
Date: Wed, 24 Jan 2024 15:51:37 +0100
Subject: [PATCH] Escaping differently

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d0f318e..280befb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -102,7 +102,7 @@ spack:install_compilers:
       --use-cache
       ${COMPILER_LIST_SPECS}
 
-    - echo "definitions: \[ compilers: \[ ${COMPILER_LIST_SPECS} \]\]" > compiler_definitions.yaml
+    - echo 'definitions: [ compilers: [' ${COMPILER_LIST_SPECS} ']]' > compiler_definitions.yaml
 
     - /spack/spack/bin/spack compiler find --scope site /usr
 
-- 
GitLab