aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2013-08-24 16:42:21 -0700
committerAdam Vandenberg2013-08-24 16:42:29 -0700
commit3703d60e573a152eea183c5ca030edd86167ad6f (patch)
treef63c47f6b1c976dc06e01bbfc5346507ac6efd78 /Library/Homebrew
parentc4d8917f3f1c1cbfdaa5049d720db315b531bbbc (diff)
downloadbrew-3703d60e573a152eea183c5ca030edd86167ad6f.tar.bz2
Fix const reference in mach
Fixes Homebrew/homebrew#22090.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/mach.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/mach.rb b/Library/Homebrew/mach.rb
index d6870400f..6729e36fc 100644
--- a/Library/Homebrew/mach.rb
+++ b/Library/Homebrew/mach.rb
@@ -21,7 +21,7 @@ module ArchitectureListExtension
end
def ppc?
- (PPC_32BIT_ARCHS+PPC_64BIT_ARCHS).any? {|a| self.include? a}
+ (Hardware::CPU::PPC_32BIT_ARCHS+Hardware::CPU::PPC_64BIT_ARCHS).any? {|a| self.include? a}
end
def remove_ppc!