u-reproducible-dl-stage0
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sun, 16 Dec 2018 22:34:44 +0000 (22:34 +0000)
committerXimin Luo <infinity0@debian.org>
Sun, 16 Dec 2018 22:34:44 +0000 (22:34 +0000)
Gbp-Pq: Name u-reproducible-dl-stage0.patch

src/bootstrap/bootstrap.py

index b5dc0090c8b9ce2652fe5862ce2d2103b3b06cb4..c2b3195e03b7f72c329c91ce8c803860b72786e5 100644 (file)
@@ -91,7 +91,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)