projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8db3333
)
scripts: download.pl: ensure to ignore any existing .curlrc
author
Jo-Philipp Wich
<jo@mein.io>
Sun, 15 Nov 2020 16:48:36 +0000
(17:48 +0100)
committer
Jo-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
patch
|
blob
|
history
diff --git
a/scripts/download.pl
b/scripts/download.pl
index 2b1ffde51e3df9e89d23cca9af32f71e644ff3af..60a970cba3984eeb107b2295eadc6638f793a00f 100755
(executable)
--- 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);