aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/bottles.rb
diff options
context:
space:
mode:
authorJack Nagel2013-06-13 12:04:58 -0500
committerJack Nagel2013-06-14 10:34:17 -0500
commit50db35e5d367107ecbbcbd2a13c20669d19270d4 (patch)
tree4813c532f24fe8f27223da1ce10632ba27fdb4ca /Library/Homebrew/bottles.rb
parentdc454aad923b020475944cfdd3b5167ccd3071b7 (diff)
downloadbrew-50db35e5d367107ecbbcbd2a13c20669d19270d4.tar.bz2
Use Hardware::CPU module
Diffstat (limited to 'Library/Homebrew/bottles.rb')
-rw-r--r--Library/Homebrew/bottles.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb
index 4932a191b..7d9545f38 100644
--- a/Library/Homebrew/bottles.rb
+++ b/Library/Homebrew/bottles.rb
@@ -84,7 +84,7 @@ def bottle_tag
when 10.8, 10.7, 10.5
MacOS.cat
when 10.6
- Hardware.is_64_bit? ? :snow_leopard : :snow_leopard_32
+ Hardware::CPU.is_64_bit? ? :snow_leopard : :snow_leopard_32
else
Hardware::CPU.type == :ppc ? Hardware::CPU.family : MacOS.cat
end