]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Use var again instead of hard-coded filename.
authorGuenter Knauf <lists@gknw.net>
Fri, 1 Apr 2011 12:38:01 +0000 (14:38 +0200)
committerGuenter Knauf <lists@gknw.net>
Fri, 1 Apr 2011 12:38:01 +0000 (14:38 +0200)
lib/mk-ca-bundle.pl

index 07f0920017905e72df0eb46b9f22b503f508053a..49cd6b59df7d74fa514d4d5f336106ef6f9e6ad9 100755 (executable)
@@ -81,7 +81,7 @@ unless ($opt_n and -e $txt) {
   print "Downloading '$txt' ...\n" if (!$opt_q);
 
   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') {