aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-22 21:31:38 -0700
committerAdam Vandenberg2012-08-22 21:31:38 -0700
commit7b66291cc6c39a0b9c66504c8a9e74763c2e4bc8 (patch)
treedc9c84936167d6f61dede018f47c6b097cdbf681 /Library
parent065475369568f7a1174efb681faab01183b648e4 (diff)
downloadbrew-7b66291cc6c39a0b9c66504c8a9e74763c2e4bc8.tar.bz2
audit: be a bit more lenient
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index eb4c509ec..5446a924d 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -368,7 +368,7 @@ class FormulaAuditor
problem "Use 'build.head?' instead of inspecting 'version'"
end
- if text =~ /ARGV(?!\.(debug|verbose)\?)/
+ if text =~ /ARGV\.(?!(debug|verbose)\?)/
problem "Use build instead of ARGV to check options."
end