aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/examples
diff options
context:
space:
mode:
authorAdam Vandenberg2010-11-04 08:11:49 -0700
committerAdam Vandenberg2010-11-04 08:11:49 -0700
commit0ecbabad63fa72e17c12e137f7ae925bec83e263 (patch)
tree2db869e44031806c1ad23a8f180916cf3b254f6a /Library/Contributions/examples
parent8d84234a105f11385551d7312625413c70fd6ae5 (diff)
downloadbrew-0ecbabad63fa72e17c12e137f7ae925bec83e263.tar.bz2
brew-audit - check harder for commented cmake
Diffstat (limited to 'Library/Contributions/examples')
-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