aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorAdam Vandenberg2012-09-04 10:43:44 -0700
committerAdam Vandenberg2012-09-04 10:43:48 -0700
commit74d360fd1000aa01e4aebeb24d0e1ca63f332e80 (patch)
tree836afee91901e7453670bebaee16707e6f7dc45e /Library/Homebrew/cmd
parentd0dc632ec58e8c4ed0c8b39e6c03d01b0edd65ff (diff)
downloadhomebrew-74d360fd1000aa01e4aebeb24d0e1ca63f332e80.tar.bz2
Exempt automake from some audits
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/audit.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 030555beb..6812dd118 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -275,9 +275,10 @@ class FormulaAuditor
end
# build tools should be flagged properly
+ # but don't complain about automake; it needs autoconf at runtime
if text =~ /depends_on ['"](#{BUILD_TIME_DEPS*'|'})['"]$/
problem "#{$1} dependency should be \"depends_on '#{$1}' => :build\""
- end
+ end unless f.name == "automake"
# FileUtils is included in Formula
if text =~ /FileUtils\.(\w+)/