From 1d31200ad21f7cd26bb57a4a3d0f7f708e4fcedc Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 4 Dec 2013 20:07:27 -0800 Subject: [PATCH] loosen FileUtils audit --- Library/Homebrew/cmd/audit.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index fcb7ed22b1..eacdc048b6 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