brew-audit - check harder for commented cmake
This commit is contained in:
parent
8d84234a10
commit
0ecbabad63
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user