diff --git a/templates/build_icon.sh b/templates/build_icon.sh
index f2e7ce602e69f89abfef4a609f76860d12ff43b5..f15c3bf1fbf8e8bd6463eea9632f5de0e42d63f6 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