diff options
| author | Jack Nagel | 2013-11-30 16:36:48 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-30 16:44:14 -0600 |
| commit | fdf20dc43971b728520d518f3b6ef0bcb16aeb21 (patch) | |
| tree | 574973bbbdada29c95bf749af5453f6f2cd6463a /Library/Homebrew | |
| parent | 8bc77f5342be14437f947f47c465388bfc37d565 (diff) | |
| download | homebrew-fdf20dc43971b728520d518f3b6ef0bcb16aeb21.tar.bz2 | |
Disable bottles when HOMEBREW_CELLAR.parent != HOMEBREW_PREFIX
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/bottles.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb index c2c9db373..9c50a6b20 100644 --- a/Library/Homebrew/bottles.rb +++ b/Library/Homebrew/bottles.rb @@ -17,6 +17,7 @@ def install_bottle? f, options={:warn=>false} return false unless f.pour_bottle? return false unless f.default_build? return false unless bottle_current?(f) + return false if HOMEBREW_CELLAR.parent != HOMEBREW_PREFIX # XXX: see #24780 if f.bottle.cellar != :any && f.bottle.cellar != HOMEBREW_CELLAR.to_s if options[:warn] opoo "Building source; cellar of #{f}'s bottle is #{f.bottle.cellar}" |
