diff --git a/AlmaLinux9/Dockerfile-spack b/AlmaLinux9/Dockerfile-spack index 059222e..59e69a1 100644 --- a/AlmaLinux9/Dockerfile-spack +++ b/AlmaLinux9/Dockerfile-spack @@ -43,7 +43,5 @@ ARG SPACK_BUILDCACHE RUN source /opt/setup_spack.sh && \ spack compiler find && \ if [ -n "${SPACK_BUILDCACHE}" ]; then \ - for buildcache in ${SPACK_BUILDCACHE//:/ }; do \ - spack mirror add --unsigned local-buildcache "${buildcache}"; \ - done \ + spack mirror add --unsigned local-buildcache "${SPACK_BUILDCACHE}"; \ fi