aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/bottle.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index c7cba11f1..1db07254b 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -147,7 +147,7 @@ module Homebrew extend self
end
relocatable = !keg_contains(prefix_check, keg)
- relocatable = !keg_contains(HOMEBREW_CELLAR, keg) if relocatable
+ relocatable = !keg_contains(HOMEBREW_CELLAR, keg) && relocatable
ensure
keg.relocate_install_names Keg::PREFIX_PLACEHOLDER, prefix,
Keg::CELLAR_PLACEHOLDER, cellar, :keg_only => f.keg_only?