diff options
| author | Mike McQuaid | 2012-08-25 13:08:24 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2012-08-25 13:08:46 -0700 |
| commit | 18fb888ff3557719f91641f998799673f39a7603 (patch) | |
| tree | 3e26990f2885ca5d24cec171427a8c6e5adfa30d /Library/Homebrew/extend/ARGV.rb | |
| parent | 6c892693e3c96b243a21ce25609ac75178b64d40 (diff) | |
| download | homebrew-18fb888ff3557719f91641f998799673f39a7603.tar.bz2 | |
Miscellaneous bottle code cleanup.
Diffstat (limited to 'Library/Homebrew/extend/ARGV.rb')
| -rw-r--r-- | Library/Homebrew/extend/ARGV.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb index 4d8663394..694850df2 100644 --- a/Library/Homebrew/extend/ARGV.rb +++ b/Library/Homebrew/extend/ARGV.rb @@ -124,16 +124,8 @@ module HomebrewArgvExtension include? '--32-bit' end - def bottles_supported? - # Snow Leopard was the only version of OS X that supported - # both 64-bit and 32-bit processors and kernels. - (Hardware.is_64_bit? or not MacOS.snow_leopard?) \ - and HOMEBREW_PREFIX.to_s == '/usr/local' \ - and HOMEBREW_CELLAR.to_s == '/usr/local/Cellar' \ - end - def build_bottle? - include? '--build-bottle' and bottles_supported? + include? '--build-bottle' and MacOS.bottles_supported? end def build_from_source? |
