scripts: download.pl: ensure to ignore any existing .curlrc
authorJo-Philipp Wich <jo@mein.io>
Sun, 15 Nov 2020 16:48:36 +0000 (17:48 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 21 Feb 2024 21:31:36 +0000 (22:31 +0100)
Pass `-q` to the invoked curl command to ensure that any existing .curlrc
is ignored.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
scripts/download.pl

index 2b1ffde51e3df9e89d23cca9af32f71e644ff3af..60a970cba3984eeb107b2295eadc6638f793a00f 100755 (executable)
@@ -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);