audit: ...or quoted
This commit is contained in:
parent
d55dc8d01e
commit
7e45cbafca
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user