aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2016-04-19 15:25:44 +0800
committerXu Cheng2016-04-19 15:25:44 +0800
commit9b79f45e94805426c6bde47528063e5e505e2abd (patch)
tree414329699c0827f839a1be83586eb7754c71fb33 /Library
parent612f70fba1fb8afe858d9f42a6c023e47531b0b8 (diff)
downloadbrew-9b79f45e94805426c6bde47528063e5e505e2abd.tar.bz2
Revert "man: fix Ruby syntax warning"
This reverts commit 2caf7b76bb3e09ffabf8c56d3934ba8190673fdc.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/man.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/man.rb b/Library/Homebrew/cmd/man.rb
index fd959cd53..164eca9b1 100644
--- a/Library/Homebrew/cmd/man.rb
+++ b/Library/Homebrew/cmd/man.rb
@@ -41,7 +41,7 @@ module Homebrew
def build_man_page
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)$/, "") }.
map { |source_file|
source_file.read.lines.