php@7.1: Fix openssl@1.1 etc location

Closes #44277.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Kevin Abel 2019-09-14 11:50:56 -05:00 committed by FX Coudert
parent b82f4e95bc
commit 8746610a24

View file

@ -178,9 +178,9 @@ class PhpAT71 < Formula
# Use OpenSSL cert bundle
inreplace "php.ini-development", /; ?openssl\.cafile=/,
"openssl.cafile = \"#{HOMEBREW_PREFIX}/etc/openssl/cert.pem\""
"openssl.cafile = \"#{etc}/openssl@1.1/cert.pem\""
inreplace "php.ini-development", /; ?openssl\.capath=/,
"openssl.capath = \"#{HOMEBREW_PREFIX}/etc/openssl/certs\""
"openssl.capath = \"#{etc}/openssl@1.1/certs\""
config_files = {
"php.ini-development" => "php.ini",