mirror of https://github.com/moparisthebest/curl
Use var again instead of hard-coded filename.
This commit is contained in:
parent
f1c6cd42f4
commit
e02c90dc19
|
@ -81,7 +81,7 @@ unless ($opt_n and -e $txt) {
|
||||||
print "Downloading '$txt' ...\n" if (!$opt_q);
|
print "Downloading '$txt' ...\n" if (!$opt_q);
|
||||||
|
|
||||||
my $ua = new LWP::UserAgent(agent => "$0/$version");
|
my $ua = new LWP::UserAgent(agent => "$0/$version");
|
||||||
$resp = $ua->mirror($url, 'certdata.txt');
|
$resp = $ua->mirror($url, $txt);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($resp && $resp->code eq '304') {
|
if ($resp && $resp->code eq '304') {
|
||||||
|
|
Loading…
Reference in New Issue