From 3f2f5c47e0b3477bf7000e62da80bdc0a827081d Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Thu, 6 Apr 2023 00:32:46 +0000 Subject: [PATCH] fix: buildcache update-index --mirror-url argument only --- spack-environment/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spack-environment/Makefile b/spack-environment/Makefile index 3b6461d27..8f4dba412 100644 --- a/spack-environment/Makefile +++ b/spack-environment/Makefile @@ -20,8 +20,8 @@ endif $(SPACK_ENV)/push: $(addprefix $(SPACK_ENV)/push/,$($(SPACK_ENV)/SPACK_PACKAGE_IDS)) @mkdir -p $(BUILDCACHE_DIR) - $(foreach buildcache, $(BUILDCACHE_DIR), $(SPACK) buildcache update-index --directory $(buildcache) ;) - $(foreach buildcache, $(BUILDCACHE_MIRROR), $(SPACK) buildcache update-index --mirror-name $(buildcache) ;) + $(foreach buildcache, $(BUILDCACHE_DIR), $(SPACK) buildcache update-index --mirror-url $(buildcache) ;) + $(foreach buildcache, $(BUILDCACHE_MIRROR), $(SPACK) buildcache update-index --mirror-url $(buildcache) ;) $(SPACK_ENV)/push/%: $(SPACK_ENV)/install/% @mkdir -p $(dir $@) -- GitLab