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
commit573c73e9af9401f2e548ad995f4a05333626111d (patch)
tree54eddf6f5c236e073274078ffec03523bdaac5a0 /Library
parent80e6ed2272a6db2bd5d6f3900bd6446ad27183d0 (diff)
downloadhomebrew-573c73e9af9401f2e548ad995f4a05333626111d.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