php@7.1: Fix openssl@1.1 etc location
Closes #44277. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
b82f4e95bc
commit
8746610a24
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue