diff options
| author | Dominyk Tiller | 2016-08-09 02:39:48 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-08-09 09:58:49 +0100 |
| commit | 202e5f5332a5051e37799f5a87457bca301e85b3 (patch) | |
| tree | 69a003149479092b9db8c763f42b42dbbd3f094e /Library | |
| parent | 3f7adf214ddb35922a0bfc5af532b4749a71cb1a (diff) | |
| download | brew-202e5f5332a5051e37799f5a87457bca301e85b3.tar.bz2 | |
formula_installer: prevent MaximumMacOSRequirement leakage
Read the discussion in https://github.com/Homebrew/homebrew-core/pull/3703. If you
have a better idea, please file a competing PR. I'm sick to death of discussion.
Closes #662.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index d8d1a8fbf..111efb9d5 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -308,6 +308,7 @@ class FormulaInstaller req_map.each_pair do |dependent, reqs| reqs.each do |req| + next if dependent.installed? && req.name == "maximummacos" puts "#{dependent}: #{req.message}" fatals << req if req.fatal? end |
