u-reproducible-dl-stage0
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Mon, 28 Jan 2019 06:02:48 +0000 (06:02 +0000)
committerXimin Luo <infinity0@debian.org>
Mon, 28 Jan 2019 06:02:48 +0000 (06:02 +0000)
Gbp-Pq: Name u-reproducible-dl-stage0.patch

src/bootstrap/bootstrap.py

index d143dffb24be5239d59b47f08ec58c78119830a7..1b795a81cb197475af74743ab5ae22ed077f86f6 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)