Exempt libtool and svn from the shadowed headers check

This commit is contained in:
Jack Nagel 2014-10-15 21:17:25 -05:00
parent 7266ecd4e3
commit 1b64612b65

View File

@ -104,6 +104,7 @@ module FormulaCellarChecks
end
def check_shadowed_headers
return if f.name == "libtool" || f.name == "subversion"
return if f.keg_only? || !f.include.directory?
files = relative_glob(f.include, "**/*.h")