ruby-changes:51926
From: hsbt <ko1@a...>
Date: Tue, 31 Jul 2018 21:05:30 +0900 (JST)
Subject: [ruby-changes:51926] hsbt:r64140 (trunk): Fixed unexpected direction deletion with irb sync.
hsbt 2018-07-31 21:05:24 +0900 (Tue, 31 Jul 2018) New Revision: 64140 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64140 Log: Fixed unexpected direction deletion with irb sync. Modified files: trunk/tool/sync_default_gems.rb Index: tool/sync_default_gems.rb =================================================================== --- tool/sync_default_gems.rb (revision 64139) +++ tool/sync_default_gems.rb (revision 64140) @@ -200,7 +200,7 @@ def sync_default_gems(gem) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L200 end def sync_lib(repo) - `rm -rf lib/#{repo}.rb lib/#{repo}/* test/test_#{repo}.rb test/#{repo}` + `rm -rf lib/#{repo}.rb lib/#{repo}/* test/test_#{repo}.rb` `cp -rf ../#{repo}/lib/* lib` tests = if File.directory?("test/#{repo}") "test/#{repo}" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/