ghc: use a warning when installing 64-bit

Closes Homebrew/homebrew#7200.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2011-08-25 09:29:08 -05:00
parent 1406f91438
commit fdc33fa24f

View file

@ -22,7 +22,7 @@ class Ghc < Formula
def install def install
if ARGV.include? '--64bit' if ARGV.include? '--64bit'
if Hardware.is_64_bit? if Hardware.is_64_bit?
onoe "The x86_64 version is experimental!" opoo "The x86_64 version is experimental!"
else else
onoe "The x86_64 version is only for 64-bit hardware." onoe "The x86_64 version is only for 64-bit hardware."
exit 1 exit 1