From: Debian Rust Maintainers Date: Thu, 14 Jul 2022 11:17:37 +0000 (+0200) Subject: u-reproducible-dl-stage0 X-Git-Tag: archive/raspbian/1.69.0+dfsg1-1+rpi1^2~32 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c05cfbaf2ed94de60c56e042138c464cb2f309e3;p=rustc.git u-reproducible-dl-stage0 =================================================================== Gbp-Pq: Name u-reproducible-dl-stage0.patch --- diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 013d1ab525..89957a1bc2 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -92,7 +92,7 @@ def _download(path, url, probably_big, verbose, exception): "-L", # Follow redirect. "-y", "30", "-Y", "10", # timeout if speed is < 10 bytes/sec for > 30 seconds "--connect-timeout", "30", # timeout if cannot connect within 30 seconds - "--retry", "3", "-Sf", url], + "--retry", "3", "-Sf", "-R", url], stdout=outfile, #Implements cli redirect operator '>' verbose=verbose, exception=True, # Will raise RuntimeError on failure