From 72e594fb1079d32208a9baddd84ecc21351e60f1 Mon Sep 17 00:00:00 2001 From: Thomas Dickerson Date: Wed, 11 May 2022 11:50:04 -0400 Subject: [PATCH] Fix default buildcache location (#30230) Resolve path/URL parsing issues introduced by #27021 --- lib/spack/spack/cmd/buildcache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/cmd/buildcache.py b/lib/spack/spack/cmd/buildcache.py index 6bb04a9998..39a20fcaf2 100644 --- a/lib/spack/spack/cmd/buildcache.py +++ b/lib/spack/spack/cmd/buildcache.py @@ -701,7 +701,7 @@ def update_index(mirror_url, update_keys=False): def update_index_fn(args): """Update a buildcache index.""" - outdir = '.' + outdir = 'file://.' if args.mirror_url: outdir = args.mirror_url