diff --git a/Library/Contributions/examples/brew-audit.rb b/Library/Contributions/examples/brew-audit.rb index 4d2c08e26e..24ab853c99 100755 --- a/Library/Contributions/examples/brew-audit.rb +++ b/Library/Contributions/examples/brew-audit.rb @@ -62,6 +62,10 @@ def audit_formula_text text problems << " * \"#{$1}\" should be \"\#{#{$3}}\"" end + if text =~ %r[((\#\{share\}/(man)))[/'"]] + problems << " * \"#{$1}\" should be \"\#{#{$3}}\"" + end + if text =~ %r[(\#\{prefix\}/share/(info|man))] problems << " * \"#{$1}\" should be \"\#{#{$2}}\"" end