From 27336e45a2dd22ccb9d3813609ab0529ecc03e1f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 15 Nov 2020 17:48:36 +0100 Subject: [PATCH] scripts: download.pl: ensure to ignore any existing .curlrc Pass `-q` to the invoked curl command to ensure that any existing .curlrc is ignored. Signed-off-by: Jo-Philipp Wich --- scripts/download.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download.pl b/scripts/download.pl index 2b1ffde51e..60a970cba3 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -107,7 +107,7 @@ sub download_cmd { my $filename = shift; if ($download_tool eq "curl") { - return (qw(curl -f --connect-timeout 20 --retry 5 --location), + return (qw(curl -q -f --connect-timeout 20 --retry 5 --location), $check_certificate ? () : '--insecure', shellwords($ENV{CURL_OPTIONS} || ''), $url); -- 2.30.2