Skip to content
Snippets Groups Projects
Commit 6137144f authored by Alan De Smet's avatar Alan De Smet
Browse files

Revert "Use /usr/bin/curl to always use the system curl"

This reverts commit b63df565.
parent b63df565
No related branches found
No related tags found
No related merge requests found
...@@ -505,7 +505,7 @@ def download_to_file_no_lock(url, dst, fileobj, timeout=HUGE_TIMEOUT): ...@@ -505,7 +505,7 @@ def download_to_file_no_lock(url, dst, fileobj, timeout=HUGE_TIMEOUT):
more = f"(using temporary file {fileobj.name})" more = f"(using temporary file {fileobj.name})"
logging.debug(f"Downloading {url} to {dst} {more}") logging.debug(f"Downloading {url} to {dst} {more}")
args = [ args = [
"/usr/bin/curl", "curl",
"--location", # Follow redirects "--location", # Follow redirects
"--fail", # Exit non-zero on HTTP errors (4xx or 5xx) "--fail", # Exit non-zero on HTTP errors (4xx or 5xx)
url url
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment