forked from lix-project/lix
download-from-binary-cache.pl: Respect $SSL_CERT_FILE
This commit is contained in:
parent
4a198dae74
commit
393a9b92b1
|
@ -38,7 +38,7 @@ my $activeRequests = 0;
|
||||||
my $curlIdCount = 1;
|
my $curlIdCount = 1;
|
||||||
my %requests;
|
my %requests;
|
||||||
my %scheduled;
|
my %scheduled;
|
||||||
my $caBundle = $ENV{"CURL_CA_BUNDLE"} // $ENV{"OPENSSL_X509_CERT_FILE"};
|
my $caBundle = $ENV{"SSL_CERT_FILE"} // $ENV{"CURL_CA_BUNDLE"} // $ENV{"OPENSSL_X509_CERT_FILE"};
|
||||||
|
|
||||||
my $userName = getpwuid($<) || $ENV{"USER"} or die "cannot figure out user name";
|
my $userName = getpwuid($<) || $ENV{"USER"} or die "cannot figure out user name";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue