We use uname -s to test for OS X elsewhere; stay consistent

This commit is contained in:
Sam Stephenson 2013-02-04 16:28:06 -06:00
parent 62411c44c5
commit a89e8fbb33

View file

@ -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"