aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-12-05 18:41:45 -0600
committerJack Nagel2013-12-05 18:41:45 -0600
commitd6ab345be5a31c822822502b1edc8d5b4dfc17d9 (patch)
tree223cc563adcd30fa53611441edec884d20c6f6ec /Library
parent62170811dd89dfc7b660a7674664a292c8df7efb (diff)
downloadbrew-d6ab345be5a31c822822502b1edc8d5b4dfc17d9.tar.bz2
bottle: always perform a full relocation check
Even if the prefix check fails, it is useful to see the results from the cellar check.
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?