From: Jo-Philipp Wich Date: Sun, 15 Nov 2020 16:48:36 +0000 (+0100) Subject: scripts: download.pl: ensure to ignore any existing .curlrc X-Git-Url: http://git.openwrt.org/openwrt/openwrt.git%24%28if?a=commitdiff_plain;h=27336e45a2dd22ccb9d3813609ab0529ecc03e1f;p=openwrt%2Fstaging%2Fjow.git 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 --- 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);