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
commitde693367199097b925162144eec4c5265e4d42e8 (patch)
tree787089b57bdf011fbd98467b55ddef2222d501b3 /Library
parentf909a257ff70d94bfee43eaae66bd02634202e04 (diff)
downloadhomebrew-de693367199097b925162144eec4c5265e4d42e8.tar.bz2
Fix local installation of bottles.
Fixes #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