1
0
Fork 0
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:
knu 2003-02-20 14:15:57 +00:00
parent 2cd6d0f597
commit 697462490a

View file

@ -181,10 +181,10 @@ end
Dir.glob("*.[1-9]") do |mdoc|
section = mdoc[-1,1]
$destdir = mandir + section
destfile = File.join($destdir, mdoc.sub(/ruby/, ruby_install_name))
destdir = mandir + section
destfile = File.join(destdir, mdoc.sub(/ruby/, ruby_install_name))
makedirs $destdir
makedirs destdir
if $mantype == "doc"
install mdoc, destfile, 0644