Preserve other environment variables

This commit is contained in:
Javier Godoy 2018-12-16 18:01:59 -03:00
parent 96696bcc7b
commit 6227d89ec6

View File

@ -306,7 +306,7 @@ prog_exit() {
# Make LibreSSL safe config file from OpenSSL config file
make_ssl_config() {
sed \
-e "s\`ENV::\`\`g" \
-e "s\`ENV::EASYRSA\`EASYRSA\`g" \
-e "s\`\$dir\`$EASYRSA_PKI\`g" \
-e "s\`\$EASYRSA_PKI\`$EASYRSA_PKI\`g" \
-e "s\`\$EASYRSA_CERT_EXPIRE\`$EASYRSA_CERT_EXPIRE\`g" \