diff options
-rw-r--r-- | instruby.rb | 6 |
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 |