From 7c980498925a0f0c92b62d4e917a79022df3f214 Mon Sep 17 00:00:00 2001 From: hsbt Date: Tue, 31 Jul 2018 12:05:24 +0000 Subject: Fixed unexpected direction deletion with irb sync. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/sync_default_gems.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool/sync_default_gems.rb') diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 87c4383794..a9fc41f87a 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -200,7 +200,7 @@ def sync_default_gems(gem) 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}" -- cgit v1.2.3