diff options
| author | Adam Vandenberg | 2013-12-04 20:07:27 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-12-04 20:07:38 -0800 |
| commit | 1d31200ad21f7cd26bb57a4a3d0f7f708e4fcedc (patch) | |
| tree | e0cba9b057b4071eb36aa65c864880e4d4b93601 | |
| parent | 36d3a2dfa8af985db438b9bd566a2b96a108051f (diff) | |
| download | brew-1d31200ad21f7cd26bb57a4a3d0f7f708e4fcedc.tar.bz2 | |
loosen FileUtils audit
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index fcb7ed22b..eacdc048b 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -323,7 +323,8 @@ class FormulaAuditor end # FileUtils is included in Formula - if line =~ /FileUtils\.(\w+)/ + # encfs modifies a file with this name, so check for some leading characters + if line =~ /[^'"\/]FileUtils\.(\w+)/ problem "Don't need 'FileUtils.' before #{$1}." end |
