diff options
| author | Adam Vandenberg | 2013-07-07 11:56:11 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-07-17 06:58:11 -0700 |
| commit | ebcf8be7892568f2cfba9880d2995cc0499eb092 (patch) | |
| tree | 3e603d551daee1040ac07ac34181e189d680dd00 | |
| parent | 456621bb5487812d55918f34793f31ac0d8cbb33 (diff) | |
| download | brew-ebcf8be7892568f2cfba9880d2995cc0499eb092.tar.bz2 | |
audit: skip an audit for mongodb
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index eb14c321d..46197298b 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -463,8 +463,10 @@ class FormulaAuditor problem "No double 'without': Use `build.without? '#{$1}'` to check for \"--without-#{$1}\"" end - if line =~ /ARGV\.(?!(debug\?|verbose\?|value[\(\s]))/ - problem "Use build instead of ARGV to check options" + unless f.name == 'mongodb' # Mongo writes out a Ruby script that uses ARGV + if line =~ /ARGV\.(?!(debug\?|verbose\?|value[\(\s]))/ + problem "Use build instead of ARGV to check options" + end end if line =~ /def options/ |
