aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-09-08 09:22:48 -0700
committerAdam Vandenberg2010-09-08 09:22:48 -0700
commita7e902ce7867c0b7d3b99b4f0ad1a42f70bee0a2 (patch)
tree45faf262f68906a98eee144f59064fc9ff93efae /Library
parentb98d8366bcf44d4db82eba48a2a420e7dc2cc5be (diff)
downloadbrew-a7e902ce7867c0b7d3b99b4f0ad1a42f70bee0a2.tar.bz2
brew-audit - yet another path shortcut check
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/examples/brew-audit.rb4
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