Skip to content

Commit 6eef274

Browse files
authored
Fix a _strip_prefix call site (#520)
Fixes #518 (comment)
1 parent af27ea4 commit 6eef274

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

toolchain/internal/llvm_distributions.bzl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -741,8 +741,6 @@ def download_llvm(rctx):
741741
update_sha256 = True
742742
if not urls:
743743
urls, sha256, strip_prefix = _distribution_urls(rctx)
744-
if not strip_prefix:
745-
strip_prefix = _strip_prefix(_distribution_basename(urls[0]))
746744

747745
res = rctx.download_and_extract(
748746
[_full_url(url) for url in urls],

0 commit comments

Comments
 (0)