bottle: always perform a full relocation check

Even if the prefix check fails, it is useful to see the results from the
cellar check.
This commit is contained in:
Jack Nagel 2013-12-05 18:41:45 -06:00
parent 62170811dd
commit d6ab345be5

View File

@ -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?