@@ -269,7 +269,7 @@ def copy_static
269
269
270
270
@options . static_path . each do |path |
271
271
unless File . directory? path then
272
- FileUtils . install path , @outputdir , fu_options . merge ( :mode => 0644 )
272
+ FileUtils . install path , @outputdir , ** fu_options . merge ( :mode => 0644 )
273
273
next
274
274
end
275
275
@@ -278,9 +278,9 @@ def copy_static
278
278
dest_file = @outputdir + entry
279
279
280
280
if File . directory? entry then
281
- FileUtils . mkdir_p entry , fu_options
281
+ FileUtils . mkdir_p entry , ** fu_options
282
282
else
283
- FileUtils . install entry , dest_file , fu_options . merge ( :mode => 0644 )
283
+ FileUtils . install entry , dest_file , ** fu_options . merge ( :mode => 0644 )
284
284
end
285
285
end
286
286
end
@@ -585,16 +585,16 @@ def install_rdoc_static_file source, destination, options # :nodoc:
585
585
return unless source . exist?
586
586
587
587
begin
588
- FileUtils . mkdir_p File . dirname ( destination ) , options
588
+ FileUtils . mkdir_p File . dirname ( destination ) , ** options
589
589
590
590
begin
591
- FileUtils . ln source , destination , options
591
+ FileUtils . ln source , destination , ** options
592
592
rescue Errno ::EEXIST
593
593
FileUtils . rm destination
594
594
retry
595
595
end
596
596
rescue
597
- FileUtils . cp source , destination , options
597
+ FileUtils . cp source , destination , ** options
598
598
end
599
599
end
600
600
0 commit comments