diff options
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/keg.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index a5af2a19b..04196099a 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -89,9 +89,9 @@ class Keg < Pathname $n=0 $d=0 - share_mkpaths=%w[aclocal doc info locale man]+(1..8).collect{|x|"man/man#{x}"} - # cat pages are rare, but exist so the directories should be created - share_mkpaths << (1..8).collect{ |x| "man/cat#{x}" } + share_mkpaths = %w[aclocal doc info locale man] + share_mkpaths.concat((1..8).map { |i| "man/man#{i}" }) + share_mkpaths.concat((1..8).map { |i| "man/cat#{i}" }) # yeah indeed, you have to force anything you need in the main tree into # these dirs REMEMBER that *NOT* everything needs to be in the main tree |
