diff options
| author | Mike McQuaid | 2014-02-16 22:10:22 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-02-16 22:10:22 +0000 |
| commit | 8157515b2aa7de4a8a79568becb9d050e7fa2c45 (patch) | |
| tree | 270880dfc1175506a09ddd599f2253b3965b82a2 /Library/Homebrew | |
| parent | 1fecd418e4e93a0bb7c92496746ba75f1d80acd8 (diff) | |
| download | brew-8157515b2aa7de4a8a79568becb9d050e7fa2c45.tar.bz2 | |
audit: whitelist pyobject3 use of ARGV.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 31438560d..48f1d6620 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -419,7 +419,9 @@ class FormulaAuditor problem "No double 'without': Use `build.without? '#{$1}'` to check for \"--without-#{$1}\"" end - unless f.name == 'mongodb' # Mongo writes out a Ruby script that uses ARGV + # Mongo writes out a Ruby script that uses ARGV + # Python formulae need ARGV for Requirements + unless f.name == 'mongodb' || f.name == "pyobject3" if line =~ /ARGV\.(?!(debug\?|verbose\?|value[\(\s]))/ problem "Use build instead of ARGV to check options" end |
