From b63df565a6d8f8feac566cb5afc5e97bb9479560 Mon Sep 17 00:00:00 2001 From: Alan De Smet <alan.desmet@ssec.wisc.edu> Date: Tue, 23 Jul 2024 10:38:12 -0500 Subject: [PATCH] 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) --- csppfetch/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csppfetch/__init__.py b/csppfetch/__init__.py index 60e1529..3d0e42f 100644 --- a/csppfetch/__init__.py +++ b/csppfetch/__init__.py @@ -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 -- GitLab