diff options
| author | Mike McQuaid | 2016-08-09 09:59:05 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-08-09 09:59:05 +0100 |
| commit | cc752e97f6dcfb3e58c9e753262926672edeb571 (patch) | |
| tree | 8cb987a90fcef5f8768d992b8acd60eb71a1e3c9 /Library/Homebrew | |
| parent | 202e5f5332a5051e37799f5a87457bca301e85b3 (diff) | |
| download | brew-cc752e97f6dcfb3e58c9e753262926672edeb571.tar.bz2 | |
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.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 111efb9d5..0d7a47bc0 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 |
