about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-07T20·41+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-07T20·41+0200
commit393a9b92b1036bdef4076f4fbfaf6fa60c19e6cb (patch)
tree487e575a058050bcee11e9febd6a9fb554e25750 /scripts
parent4a198dae746379effe04c19341f1d370461c71c7 (diff)
download-from-binary-cache.pl: Respect $SSL_CERT_FILE
Diffstat (limited to 'scripts')
-rw-r--r--scripts/download-from-binary-cache.pl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in
index 8b49a251765f..a3af75f739b0 100644
--- a/scripts/download-from-binary-cache.pl.in
+++ b/scripts/download-from-binary-cache.pl.in
@@ -38,7 +38,7 @@ my $activeRequests = 0;
 my $curlIdCount = 1;
 my %requests;
 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";