From 9d72738c54ee4d5ceb916428f3b0d2af37d94cb1 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 30 Nov 2013 10:29:27 -0800 Subject: [PATCH] disable :any bottles due to Homebrew/homebrew#24780 --- Library/Homebrew/bottles.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb index c2c9db3733..e29f414635 100644 --- a/Library/Homebrew/bottles.rb +++ b/Library/Homebrew/bottles.rb @@ -17,7 +17,10 @@ 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) - if f.bottle.cellar != :any && f.bottle.cellar != HOMEBREW_CELLAR.to_s + # Disable "any", it is broken when relocating via :any + # if f.bottle.cellar != :any && f.bottle.cellar != HOMEBREW_CELLAR.to_s + # See: https://github.com/mxcl/homebrew/issues/24780 + if f.bottle.cellar != HOMEBREW_CELLAR.to_s if options[:warn] opoo "Building source; cellar of #{f}'s bottle is #{f.bottle.cellar}" end