aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-11-04 08:11:49 -0700
committerAdam Vandenberg2010-11-04 08:11:49 -0700
commit071071ac1d75a0be3d3743706257fd357c8e6e5b (patch)
treeaebb74dd9f6b4e84e526244271d94a9c9347f9ea /Library
parent1f4d8b7d24071c7d44da82e71c321384882bccf9 (diff)
downloadhomebrew-071071ac1d75a0be3d3743706257fd357c8e6e5b.tar.bz2
brew-audit - check harder for commented cmake
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/examples/brew-audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/examples/brew-audit.rb b/Library/Contributions/examples/brew-audit.rb
index f8de2c546..cf9b1c0a2 100755
--- a/Library/Contributions/examples/brew-audit.rb
+++ b/Library/Contributions/examples/brew-audit.rb
@@ -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