From: Guenter Knauf Date: Fri, 1 Apr 2011 12:38:01 +0000 (+0200) Subject: Use var again instead of hard-coded filename. X-Git-Tag: curl-7_21_5~42 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e02c90dc19b0a07d64fdb665aec0f48e659cbd77;p=thirdparty%2Fcurl.git Use var again instead of hard-coded filename. --- diff --git a/lib/mk-ca-bundle.pl b/lib/mk-ca-bundle.pl index 07f0920017..49cd6b59df 100755 --- a/lib/mk-ca-bundle.pl +++ b/lib/mk-ca-bundle.pl @@ -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') {