diff options
| author | Mike McQuaid | 2012-01-29 13:03:24 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2012-01-29 13:03:35 +0000 |
| commit | 3c2524ec2751b2b70e2305bd2b80a45b3f1018e1 (patch) | |
| tree | 8137a4878e91076cee93dfb138bd4b998a1f0a21 /Library/Homebrew/utils.rb | |
| parent | 37548458d1db47351ba471210922caf5281afb63 (diff) | |
| download | homebrew-3c2524ec2751b2b70e2305bd2b80a45b3f1018e1.tar.bz2 | |
Bottles should care about cellar path not prefix.
Closes #9844.
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index e22df05a8..ac960f257 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -400,7 +400,7 @@ module MacOS extend self end def bottles_supported? - lion? and HOMEBREW_PREFIX.to_s == '/usr/local' + lion? and HOMEBREW_CELLAR.to_s == '/usr/local/Cellar' end end |
