brew-audit - check harder for commented cmake

This commit is contained in:
Adam Vandenberg 2010-11-04 08:11:49 -07:00
parent 8d84234a10
commit 0ecbabad63

View File

@ -10,7 +10,7 @@ def audit_formula_text text
problems = []
# Commented-out cmake support from default template
if text =~ /# depends_on 'cmake'/
if (text =~ /# depends_on 'cmake'/) or (text =~ /# system "cmake/)
problems << " * Commented cmake support found."
end