Fix default buildcache location (#30230)

Resolve path/URL parsing issues introduced by #27021
This commit is contained in:
Thomas Dickerson 2022-05-11 11:50:04 -04:00 committed by GitHub
parent f9d701f9cf
commit 72e594fb10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -701,7 +701,7 @@ def update_index(mirror_url, update_keys=False):
def update_index_fn(args): def update_index_fn(args):
"""Update a buildcache index.""" """Update a buildcache index."""
outdir = '.' outdir = 'file://.'
if args.mirror_url: if args.mirror_url:
outdir = args.mirror_url outdir = args.mirror_url