From 697462490a8099a765e34523e30867e4ca65a202 Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 20 Feb 2003 14:15:57 +0000 Subject: 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 --- instruby.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/instruby.rb b/instruby.rb index 8311f9dc9a..5fc09468ef 100644 --- a/instruby.rb +++ b/instruby.rb @@ -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 -- cgit v1.2.3