pypy: don't use OS.mac?.

This commit is contained in:
Mike McQuaid 2016-12-13 02:28:58 +00:00 committed by Tomasz Pajor
parent 9106619321
commit f46539e225

View file

@ -61,7 +61,7 @@ class Pypy < Formula
ENV["PYPY_USESSION_DIR"] = buildpath
python = "python"
if build.with?("bootstrap") && OS.mac? && MacOS.preferred_arch == :x86_64
if build.with?("bootstrap") && MacOS.prefer_64_bit?
resource("bootstrap").stage buildpath/"bootstrap"
python = buildpath/"bootstrap/bin/pypy"
end