From 8a33564cab618581ee655972fc5f58fb5a3fd8f2 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 21 Mar 2013 10:32:52 +0000 Subject: [PATCH] Fix local installation of bottles. Fixes Homebrew/homebrew#18631. --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index f41eeffdb0..ab5285b84e 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -357,7 +357,7 @@ class FormulaInstaller def fix_install_names Keg.new(f.prefix).fix_install_names - if @poured_bottle + if @poured_bottle and f.bottle old_prefix = f.bottle.prefix new_prefix = HOMEBREW_PREFIX.to_s old_cellar = f.bottle.cellar