From 6cffa46ef82e6d679b82e3968433b325e2598a9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de> Date: Thu, 9 Mar 2023 13:18:07 +0100 Subject: [PATCH] Fix bug in build_icon.sh --- templates/build_icon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/build_icon.sh b/templates/build_icon.sh index f2e7ce6..f15c3bf 100644 --- a/templates/build_icon.sh +++ b/templates/build_icon.sh @@ -16,7 +16,7 @@ cd ${WORKDIR} # Check if experiment's spack installation already exists, if it doesn't, clone it. SPACK_ENV=spack/share/spack/setup-env.sh -if [ ! -f ${SPACK_ENV}] ; then +if [ ! -f ${SPACK_ENV} ] ; then git clone ${SPACK_URL} -b ${SPACK_BRANCH} #TODO: Would be good to enable the re-utilization of existing spack packages (via packages.yaml or upstreams.yaml) fi -- GitLab