diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-02-25 13:53:03 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-02-25 13:53:29 +0300 |
commit | 39609a0c9414b398330e42f872e7358e30e133dd (patch) | |
tree | 89f4a93f530f4c093e51a5ed1678eb2adc766756 /pkgs/stdenv/generic | |
parent | 93f6af107114d90d75331e0e60e3748aad46524e (diff) |
stdenv: set SSL_CERT_FILE only if it isn't already
Diffstat (limited to 'pkgs/stdenv/generic')
-rw-r--r-- | pkgs/stdenv/generic/setup.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index 8081b69bffd37..b49846fa050cb 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -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 ###################################################################### |