aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-03-21 10:32:52 +0000
committerMike McQuaid2013-03-21 10:33:17 +0000
commit8a33564cab618581ee655972fc5f58fb5a3fd8f2 (patch)
tree9982ea738e5f479f17ea8fa2ebc10a3e78e099fa /Library
parent46476ae4d06876782a4cd3e675d84f240f0c047c (diff)
downloadbrew-8a33564cab618581ee655972fc5f58fb5a3fd8f2.tar.bz2
Fix local installation of bottles.
Fixes Homebrew/homebrew#18631.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index f41eeffdb..ab5285b84 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