aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-01-04 09:30:57 -0800
committerAdam Vandenberg2013-01-04 09:30:57 -0800
commit8a1939b637edea6f4e9be12cf61d1585e0dda780 (patch)
tree73a500ccad86fb264e7a5c2d8b8b8d2ce2c9d31b /Library
parenta00c97caa2d64ce50999e320a1c96c7749c4343d (diff)
downloadhomebrew-8a1939b637edea6f4e9be12cf61d1585e0dda780.tar.bz2
audit: remove silly audit, remove duplicate audit
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb9
1 files changed, 2 insertions, 7 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index c0762e0b6..bb0e0f00b 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -277,13 +277,8 @@ class FormulaAuditor
end
# Commented-out cmake support from default template
- if (text =~ /# depends_on 'cmake'/) or (text =~ /# system "cmake/)
- problem "Commented cmake support found"
- end
-
- # 2 (or more in an if block) spaces before depends_on, please
- if text =~ /^\ ?depends_on/
- problem "Check indentation of 'depends_on'"
+ if (text =~ /# system "cmake/)
+ problem "Commented cmake call found"
end
# build tools should be flagged properly