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:
ee0d316
)
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>
Sun, 26 Jan 2025 13:07:14 +0000
(14:07 +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 c6c9b8e56cd4c310b6b4da061e3552a827ce0196..33d47d960a307c40fbd849e30c82af9d23b0ea36 100755
(executable)
--- 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);