From 0ecbabad63fa72e17c12e137f7ae925bec83e263 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 4 Nov 2010 08:11:49 -0700 Subject: [PATCH] brew-audit - check harder for commented cmake --- Library/Contributions/examples/brew-audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Contributions/examples/brew-audit.rb b/Library/Contributions/examples/brew-audit.rb index f8de2c546b..cf9b1c0a26 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