diff options
| author | Adam Vandenberg | 2014-03-05 07:53:53 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-03-05 07:53:53 -0800 |
| commit | a0d1690bd6b33d86b762c79883f674f3c2d2a55a (patch) | |
| tree | f26c17e17c697941773bad87c146f4ee6de202a0 | |
| parent | ad4f3b6faedef6f93f08dde454ce36f74e0c0197 (diff) | |
| download | homebrew-a0d1690bd6b33d86b762c79883f674f3c2d2a55a.tar.bz2 | |
audit: ...or quoted
| -rw-r--r-- | 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 bd86135eb..34c4a624b 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -424,7 +424,7 @@ class FormulaAuditor problem "Use \"\#{ENV.cxx}\" instead of hard-coding \"#{$3}\"" end - if line =~ /system\s+['"](env|export)\s+/ + if line =~ /system\s+['"](env|export)(\s+|['"])/ problem "Use ENV instead of invoking '#{$1}' to modify the environment" end |
