formula_installer: tweak dependent requirements.

If a requirement is for a dependent that's already installed and that
dependency is not using a `default_formula` (which would have already
been converted from a `Requirement` to `Dependency` at this stage) then
we want to stop it killing the build.
This commit is contained in:
Mike McQuaid 2016-08-09 09:59:05 +01:00
parent 202e5f5332
commit cc752e97f6

View File

@ -307,8 +307,8 @@ class FormulaInstaller
fatals = []
req_map.each_pair do |dependent, reqs|
next if dependent.installed?
reqs.each do |req|
next if dependent.installed? && req.name == "maximummacos"
puts "#{dependent}: #{req.message}"
fatals << req if req.fatal?
end