From f01315a5cf0c1a433f3463aa513ded6bb52e745f Mon Sep 17 00:00:00 2001 From: kazu Date: Tue, 13 Mar 2018 15:10:59 +0000 Subject: [PATCH] Fix typos [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/fileutils.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/fileutils.rb b/lib/fileutils.rb index 56ee0e14ff..74a58213a1 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -309,14 +309,14 @@ module FileUtils # FileUtils.rm_r site_ruby + '/mylib', :force => true # FileUtils.cp_lr 'lib/', site_ruby + '/mylib' # - # # Examples of copying several files to target directory. + # # Examples of linking several files to target directory. # FileUtils.cp_lr %w(mail.rb field.rb debug/), site_ruby + '/tmail' # FileUtils.cp_lr Dir.glob('*.rb'), '/home/aamine/lib/ruby', :noop => true, :verbose => true # - # # If you want to copy all contents of a directory instead of the + # # If you want to link all contents of a directory instead of the # # directory itself, c.f. src/x -> dest/x, src/y -> dest/y, # # use following code. - # FileUtils.cp_lr 'src/.', 'dest' # cp_r('src', 'dest') makes src/dest, but this doesn't. + # FileUtils.cp_lr 'src/.', 'dest' # cp_lr('src', 'dest') makes dest/src, but this doesn't. # def cp_lr(src, dest, noop: nil, verbose: nil, dereference_root: true, remove_destination: false)