1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fixed unexpected direction deletion with irb sync.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2018-07-31 12:05:24 +00:00
parent cfd512df9f
commit 7c98049892

View file

@ -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}"