formula_installer: improve bottle cellar message.

This commit is contained in:
Mike McQuaid 2016-01-09 11:07:28 +00:00
parent e62dc13252
commit c5ec986c72

View File

@ -89,7 +89,10 @@ class FormulaInstaller
unless bottle.compatible_cellar?
if install_bottle_options[:warn]
opoo "Building source; cellar of #{formula.full_name}'s bottle is #{bottle.cellar}"
opoo <<-EOS.undent
Building #{formula.full_name} from source:
The bottle needs a #{bottle.cellar} Cellar (yours is #{HOMEBREW_CELLAR}).
EOS
end
return false
end