stdenv: set SSL_CERT_FILE only if it isn't already

This commit is contained in:
Nikolay Amiantov 2016-02-25 13:53:03 +03:00
parent 93f6af1071
commit 39609a0c94

View File

@ -384,7 +384,9 @@ paxmark() { true; }
# Prevent OpenSSL-based applications from using certificates in
# /etc/ssl.
export SSL_CERT_FILE=/no-cert-file.crt
if [ -z "$SSL_CERT_FILE" ]; then
export SSL_CERT_FILE=/no-cert-file.crt
fi
######################################################################