Ticket #15639: files_patch-setup.rb.diff
File files_patch-setup.rb.diff, 674 bytes (added by blb@…, 16 years ago) |
---|
-
setup.rb
old new 213 213 214 214 # install RDoc 215 215 216 gem_doc_dir = File.join Gem.dir, 'doc' 216 gem_doc_dir = File.join '@@DESTROOT@@', Gem.dir, 'doc' 217 mkdir_p gem_doc_dir 217 218 rubygems_name = "rubygems-#{Gem::RubyGemsVersion}" 218 219 rubygems_doc_dir = File.join gem_doc_dir, rubygems_name 219 220 … … 221 222 (not File.exist? rubygems_doc_dir or 222 223 File.writable? rubygems_doc_dir) then 223 224 puts "Removing old RubyGems RDoc and ri" 224 Dir[File.join( Gem.dir, 'doc', 'rubygems-[0-9]*')].each do |dir|225 Dir[File.join(gem_doc_dir, 'rubygems-[0-9]*')].each do |dir| 225 226 rm_rf dir 226 227 end 227 228