diff options
| author | Mike McQuaid | 2011-12-31 19:09:49 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2012-01-16 21:05:00 +0000 |
| commit | 89dc85b09d31889686946ae07e93ddb783c6eaf7 (patch) | |
| tree | 4d99ee954a38c5806b2828db7d079264209dba86 /Library/Homebrew/utils.rb | |
| parent | 28c20b387b5bc6a7283906fa961056362cc3f98e (diff) | |
| download | homebrew-89dc85b09d31889686946ae07e93ddb783c6eaf7.tar.bz2 | |
Add option for building bottles.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 4de58cc36..7ecb7e574 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -398,6 +398,10 @@ module MacOS extend self def prefer_64_bit? Hardware.is_64_bit? and 10.6 <= MACOS_VERSION end + + def bottles_supported? + lion? and HOMEBREW_PREFIX.to_s == '/usr/local' + end end module GitHub extend self |
