openssl: full path to openssl in post_install

See Homebrew/homebrew#47522.

Closes Homebrew/homebrew#47536.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
This commit is contained in:
Alex Dunn 2015-12-30 13:23:23 -08:00
parent 6912451417
commit 498c9406ab

View file

@ -127,7 +127,7 @@ class Openssl < Formula
)
valid_certs = certs.select do |cert|
IO.popen("openssl x509 -inform pem -checkend 0 -noout", "w") do |openssl_io|
IO.popen("#{bin}/openssl x509 -inform pem -checkend 0 -noout", "w") do |openssl_io|
openssl_io.write(cert)
openssl_io.close_write
end