diff options
| author | Jan Viljanen | 2017-01-06 12:02:10 +0100 |
|---|---|---|
| committer | Jan Viljanen | 2017-01-06 23:43:25 +0100 |
| commit | 80b7d4c1aafc6eba51e6b167b1da13788714f4d4 (patch) | |
| tree | 8e40b8b38c605cf391d84ebee8a4e17ea18a9c80 /Library | |
| parent | 1a394aa7e5b7bf4f6281826248345be0308b30a4 (diff) | |
| download | brew-80b7d4c1aafc6eba51e6b167b1da13788714f4d4.tar.bz2 | |
Whitelist PHP formulas in shadowed header audit check
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/os/mac/formula_cellar_checks.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb index 8bc42ad35..5b1c648bf 100644 --- a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb +++ b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb @@ -6,6 +6,8 @@ module FormulaCellarChecks formula.name.start_with?(formula_name) end + return if formula.name =~ /^php\d+$/ + return if MacOS.version < :mavericks && formula.name.start_with?("postgresql") return if MacOS.version < :yosemite && formula.name.start_with?("memcached") |
