[bazel] Fix GCS mirror typo

Suffixes already have a . in the beginning. Two dots does not
leave us with a valid URL.

Change-Id: Ia232d1b68a78450da7883e659fa6871b562db20f
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/553538
Reviewed-by: John Stiles <johnstiles@google.com>
This commit is contained in:
Kevin Lubick 2022-06-27 13:46:00 -04:00
parent 36d67f462f
commit 2292a55e38

View File

@ -36,5 +36,5 @@ def gcs_mirror_url(url, sha256):
if extension == "":
fail("URL %s has an unsupported suffix." % url)
mirror_url = "%s/%s.%s" % (_GCS_MIRROR_PREFIX, sha256, extension)
mirror_url = "%s/%s%s" % (_GCS_MIRROR_PREFIX, sha256, extension)
return [mirror_url] if _TEST_GCS_MIRROR else [url, mirror_url]