Exempt automake from some audits

This commit is contained in:
Adam Vandenberg 2012-09-04 10:43:44 -07:00
parent c60a9ef314
commit f589644aa4

View File

@ -275,9 +275,10 @@ class FormulaAuditor
end
# build tools should be flagged properly
# but don't complain about automake; it needs autoconf at runtime
if text =~ /depends_on ['"](#{BUILD_TIME_DEPS*'|'})['"]$/
problem "#{$1} dependency should be \"depends_on '#{$1}' => :build\""
end
end unless f.name == "automake"
# FileUtils is included in Formula
if text =~ /FileUtils\.(\w+)/