Skip to content
Snippets Groups Projects
Commit 393a9b92 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

download-from-binary-cache.pl: Respect $SSL_CERT_FILE

parent 4a198dae
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ my $activeRequests = 0; ...@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment