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:
parent
cfd512df9f
commit
7c98049892
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue