aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/man.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/man.rb')
-rw-r--r--Library/Homebrew/cmd/man.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/man.rb b/Library/Homebrew/cmd/man.rb
index bc382d29f..e23313be3 100644
--- a/Library/Homebrew/cmd/man.rb
+++ b/Library/Homebrew/cmd/man.rb
@@ -53,6 +53,10 @@ module Homebrew
}.
reject { |s| s.strip.empty? }
+ variables[:maintainers] = (HOMEBREW_REPOSITORY/"README.md").
+ read[/Homebrew's current maintainers are (.*)\./, 1].
+ scan(/\[([^\]]*)\]/).flatten
+
ERB.new(template, nil, ">").result(variables.instance_eval{ binding })
end