Revert "man: fix Ruby syntax warning"
This reverts commit 2caf7b76bb3e09ffabf8c56d3934ba8190673fdc.
This commit is contained in:
parent
612f70fba1
commit
9b79f45e94
@ -41,7 +41,7 @@ module Homebrew
|
|||||||
def build_man_page
|
def build_man_page
|
||||||
template = (SOURCE_PATH/"brew.1.md.erb").read
|
template = (SOURCE_PATH/"brew.1.md.erb").read
|
||||||
|
|
||||||
Pathname.glob("#{HOMEBREW_LIBRARY_PATH}/cmd/*.{rb,sh}").
|
commands = Pathname.glob("#{HOMEBREW_LIBRARY_PATH}/cmd/*.{rb,sh}").
|
||||||
sort_by { |source_file| source_file.basename.sub(/\.(rb|sh)$/, "") }.
|
sort_by { |source_file| source_file.basename.sub(/\.(rb|sh)$/, "") }.
|
||||||
map { |source_file|
|
map { |source_file|
|
||||||
source_file.read.lines.
|
source_file.read.lines.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user