diff options
| author | Adam Vandenberg | 2010-09-08 09:22:48 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-09-08 09:22:48 -0700 |
| commit | 84cd96f302516e9419d589c78bc7171db6b535ef (patch) | |
| tree | 201d1e3fdff7f9e34f006a6cffbbcdecc20dbc22 /Library | |
| parent | 87a53f558230f923357e1b190db30f23ef51e40f (diff) | |
| download | homebrew-84cd96f302516e9419d589c78bc7171db6b535ef.tar.bz2 | |
brew-audit - yet another path shortcut check
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/examples/brew-audit.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Contributions/examples/brew-audit.rb b/Library/Contributions/examples/brew-audit.rb index 4d2c08e26..24ab853c9 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 |
