mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
This '$destdir' was meant to be a local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2cd6d0f597
commit
697462490a
1 changed files with 3 additions and 3 deletions
|
@ -181,10 +181,10 @@ end
|
||||||
Dir.glob("*.[1-9]") do |mdoc|
|
Dir.glob("*.[1-9]") do |mdoc|
|
||||||
section = mdoc[-1,1]
|
section = mdoc[-1,1]
|
||||||
|
|
||||||
$destdir = mandir + section
|
destdir = mandir + section
|
||||||
destfile = File.join($destdir, mdoc.sub(/ruby/, ruby_install_name))
|
destfile = File.join(destdir, mdoc.sub(/ruby/, ruby_install_name))
|
||||||
|
|
||||||
makedirs $destdir
|
makedirs destdir
|
||||||
|
|
||||||
if $mantype == "doc"
|
if $mantype == "doc"
|
||||||
install mdoc, destfile, 0644
|
install mdoc, destfile, 0644
|
||||||
|
|
Loading…
Reference in a new issue