summaryrefslogtreecommitdiff
path: root/instruby.rb
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-20 14:15:57 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-20 14:15:57 +0000
commit697462490a8099a765e34523e30867e4ca65a202 (patch)
treeb62b08fd54a0806a2734aaf46f6c29a319c798d6 /instruby.rb
parent2cd6d0f5971b3b5b5d7178e2e7b44b718b4bd36b (diff)
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
Diffstat (limited to 'instruby.rb')
-rw-r--r--instruby.rb6
1 files 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