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

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

Avoids using the version in ShellB3, which isn't what we want (And is
busted as a bonus)
parent f065a199
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):
more = f"(using temporary file {fileobj.name})"
logging.debug(f"Downloading {url} to {dst} {more}")
args = [
"curl",
"/usr/bin/curl",
"--location", # Follow redirects
"--fail", # Exit non-zero on HTTP errors (4xx or 5xx)
url
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment