File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1021,7 +1021,6 @@ def (bins = []).add(name)
10211021 prepare "manpages" , mandir , ( [ ] | mdocs . collect { |mdoc | mdoc [ /\d +$/ ] } ) . sort . collect { |sec | "man#{ sec } " }
10221022
10231023 mantype , suffix , compress = Compressors . for ( $mantype)
1024- mandir = File . join ( mandir , "man" )
10251024 has_goruby = File . exist? ( goruby_install_name +exeext )
10261025 require File . join ( srcdir , "tool/mdoc2man.rb" ) if /\A doc\b / !~ mantype
10271026 mdocs . each do |mdoc |
@@ -1031,8 +1030,8 @@ def (bins = []).add(name)
10311030 next unless has_goruby
10321031 end
10331032
1034- destdir = mandir + ( section = mdoc [ /\d +$/ ] )
1035- destname = ruby_install_name . sub ( /ruby/ , base . chomp ( ".#{ section } " ) )
1033+ destdir = File . join ( mandir , "man" + ( section = mdoc [ /\d +$/ ] ) )
1034+ destname = $script_installer . transform ( base . chomp ( ".#{ section } " ) )
10361035 destfile = File . join ( destdir , "#{ destname } .#{ section } " )
10371036
10381037 if /\A doc\b / =~ mantype or !mdoc_file? ( mdoc )
You can’t perform that action at this time.
0 commit comments