u-reproducible-dl-stage0
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Thu, 4 Aug 2022 07:40:53 +0000 (08:40 +0100)
committerEmilio Pozuelo Monfort <pochu@debian.org>
Thu, 4 Aug 2022 07:40:53 +0000 (08:40 +0100)
Gbp-Pq: Name u-reproducible-dl-stage0.patch

src/bootstrap/bootstrap.py

index 7c36bb264c45ee0b5ca049a409759d8d88b90d58..9e7462f49278be405c0b064dc857ccaef3b11b9a 100644 (file)
@@ -124,7 +124,7 @@ def _download(path, url, probably_big, verbose, exception):
         run(["curl", option,
              "-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", "-o", path, url],
+             "--retry", "3", "-Sf", "-o", path, "-R", url],
             verbose=verbose,
             exception=exception)