summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-31 12:05:24 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-31 12:05:24 +0000
commit7c980498925a0f0c92b62d4e917a79022df3f214 (patch)
treed7e5ad650b944dfbfbc25736d3596e2f8d8c0763 /tool/sync_default_gems.rb
parentcfd512df9fd43e8231d9d4fd0905cf20ab35f4bf (diff)
Fixed unexpected direction deletion with irb sync.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/sync_default_gems.rb')
-rw-r--r--tool/sync_default_gems.rb2
1 files changed, 1 insertions, 1 deletions
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}"