Commit e1470752 by Christian Höltje

OS X: Fixes check for OpenSSL version

We only care about Apple's OpenSSL when checking the version.  Any
other OpenSSL that happens to be in the PATH doesn't matter.
parent b1f3b100
...@@ -714,7 +714,7 @@ use_homebrew_readline() { ...@@ -714,7 +714,7 @@ use_homebrew_readline() {
has_broken_mac_openssl() { has_broken_mac_openssl() {
[ "$(uname -s)" = "Darwin" ] && [ "$(uname -s)" = "Darwin" ] &&
[[ "$(openssl version 2>/dev/null || true)" = "OpenSSL 0.9.8"?* ]] && [[ "$(/usr/bin/openssl version 2>/dev/null || true)" = "OpenSSL 0.9.8"?* ]] &&
[[ "$RUBY_CONFIGURE_OPTS" != *--with-openssl-dir=* ]] && [[ "$RUBY_CONFIGURE_OPTS" != *--with-openssl-dir=* ]] &&
! use_homebrew_openssl ! use_homebrew_openssl
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment