diff options
| author | Adam Vandenberg | 2013-12-04 20:07:27 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-12-04 20:07:38 -0800 |
| commit | e1b2ead292d7dfd1bdaea47ef0d6f296efe23158 (patch) | |
| tree | 8143ac6efecb7870c5665676cae42576d44f469b /Library/Homebrew/cmd | |
| parent | c88340781d52130b5ab273d7543877c64afa70e0 (diff) | |
| download | homebrew-e1b2ead292d7dfd1bdaea47ef0d6f296efe23158.tar.bz2 | |
loosen FileUtils audit
Diffstat (limited to 'Library/Homebrew/cmd')
| -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 |
