formula_cellar_checks: ignore openssl.

Also: check based on the beginning of the formula name so these play
nicer with e.g. homebrew-versions.

Closes Homebrew/homebrew#41528.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Mike McQuaid 2015-07-09 16:41:21 +01:00
parent 8e7f15eff4
commit e949a5fd46

View File

@ -104,8 +104,8 @@ module FormulaCellarChecks
end
def check_shadowed_headers
["libtool", "subversion", "berkeley-db"].each do |formula_name|
return if formula.name == formula_name
["libtool", "subversion", "berkeley-db", "openssl"].each do |formula_name|
return if formula.name.start_with?(formula_name)
end
return if MacOS.version < :mavericks && formula.name.start_with?("postgresql")