From cc752e97f6dcfb3e58c9e753262926672edeb571 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 9 Aug 2016 09:59:05 +0100 Subject: [PATCH] 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. --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 111efb9d59..0d7a47bc08 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -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