Scope environment overrides to EASYRSA
Merge branch 'javier-godoy-feature/sed' into v3.0.6 Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
commit
e71f2013c7
@ -314,7 +314,7 @@ prog_exit() {
|
|||||||
# Make LibreSSL safe config file from OpenSSL config file
|
# Make LibreSSL safe config file from OpenSSL config file
|
||||||
make_ssl_config() {
|
make_ssl_config() {
|
||||||
sed \
|
sed \
|
||||||
-e "s\`ENV::\`\`g" \
|
-e "s\`ENV::EASYRSA\`EASYRSA\`g" \
|
||||||
-e "s\`\$dir\`$EASYRSA_PKI\`g" \
|
-e "s\`\$dir\`$EASYRSA_PKI\`g" \
|
||||||
-e "s\`\$EASYRSA_PKI\`$EASYRSA_PKI\`g" \
|
-e "s\`\$EASYRSA_PKI\`$EASYRSA_PKI\`g" \
|
||||||
-e "s\`\$EASYRSA_CERT_EXPIRE\`$EASYRSA_CERT_EXPIRE\`g" \
|
-e "s\`\$EASYRSA_CERT_EXPIRE\`$EASYRSA_CERT_EXPIRE\`g" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user