From e949a5fd4637c3b4b2605aebff384673e93ce322 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 9 Jul 2015 16:41:21 +0100 Subject: 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 --- Library/Homebrew/formula_cellar_checks.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb index 282b9b9da..fe2df3140 100644 --- a/Library/Homebrew/formula_cellar_checks.rb +++ b/Library/Homebrew/formula_cellar_checks.rb @@ -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") -- cgit v1.2.3