From a89e8fbb331daf92d6e22c1d145593040ef61d8f Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Mon, 4 Feb 2013 16:28:06 -0600 Subject: [PATCH] We use `uname -s` to test for OS X elsewhere; stay consistent --- bin/ruby-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ruby-build b/bin/ruby-build index a558d784..c48749bd 100755 --- a/bin/ruby-build +++ b/bin/ruby-build @@ -518,8 +518,8 @@ verify_gcc() { build_package_replace_osx_openssl() { # Check for broken OpenSSL build shipped with OSX. - if [[ $(type sw_vers) ]] && [[ "$(openssl version)" = "OpenSSL 0.9.8r 8 Feb 2011" ]] + if [ "$(uname -s)" = "Darwin" ] && then # Install to a subdirectory since we don't want shims for bin/openssl. OPENSSL_PREFIX_PATH="${PREFIX_PATH}/openssl"