u-reproducible-dl-stage0
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)
committerXimin Luo <infinity0@debian.org>
Tue, 1 Dec 2020 19:57:48 +0000 (19:57 +0000)
===================================================================

Gbp-Pq: Name u-reproducible-dl-stage0.patch

src/bootstrap/bootstrap.py

index 5c9184f450687c74a387e3dea13154f000069d81..eb36261be5852943b1322c97eaa48e08c75401ad 100644 (file)
@@ -93,7 +93,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)