diff options
| author | Adam Vandenberg | 2012-04-29 09:32:39 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-04-29 09:32:39 -0700 |
| commit | 162b1ee9361356d2f911faadb0c9568c87451c3a (patch) | |
| tree | 4afc7532cd3c27ce8440c8d096019c7e411ffceb /Library | |
| parent | 1d975de41b90ff8a80458fabf81534dc3b1108f8 (diff) | |
| download | brew-162b1ee9361356d2f911faadb0c9568c87451c3a.tar.bz2 | |
audit: reduce false-positives
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 84054925c..e0507e1eb 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -63,7 +63,7 @@ def audit_formula_text name, text end # Prefer formula path shortcuts in Pathname+ - if text =~ %r{\(\s*(prefix\s*\+\s*(['"])(bin|include|libexec|lib|sbin|share))} + if text =~ %r{\(\s*(prefix\s*\+\s*(['"])(bin|include|libexec|lib|sbin|share)[/'"])} problems << " * \"(#{$1}...#{$2})\" should be \"(#{$3}+...)\"" end |
