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.lede-project.org./?a=commitdiff_plain;h=fb48db06a56aa1960f5e896aeb29f4b26f72d4df;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 c6c9b8e56c..33d47d960a 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -124,7 +124,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);