summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-14 15:07:17 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-14 15:24:33 +0900
commitd25f355c655704d483ca402d0ac2644adb5733b0 (patch)
treee62163db46750aca7edcc0390eec73714407f70b
parent7d24a7ed7bae3adec131920d98c0b321e9d3e286 (diff)
Fixup dccb0e1ec94e7b9c13c715939ae7e0ccc4ffb23e
-rw-r--r--tool/sync_default_gems.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 52453eee9c..f958535716 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -117,22 +117,22 @@ def sync_default_gems(gem)
`cp #{upstream}/reline.gemspec ./lib/reline`
when "json"
FileUtils.rm_rf(%w[ext/json test/json])
- `cp -rf .#{upstream}/ext/json/ext ext/json`
- `cp -rf .#{upstream}/tests test/json`
- `cp -rf .#{upstream}/lib ext/json`
+ `cp -rf #{upstream}/ext/json/ext ext/json`
+ `cp -rf #{upstream}/tests test/json`
+ `cp -rf #{upstream}/lib ext/json`
FileUtils.rm_rf(%[ext/json/lib/json/pure*])
- `cp .#{upstream}/json.gemspec ext/json`
+ `cp #{upstream}/json.gemspec ext/json`
FileUtils.rm_rf(%w[ext/json/lib/json/ext])
`git checkout ext/json/extconf.rb ext/json/parser/prereq.mk ext/json/generator/depend ext/json/parser/depend`
when "psych"
FileUtils.rm_rf(%w[ext/psych test/psych])
- `cp -rf .#{upstream}/ext/psych ./ext`
- `cp -rf .#{upstream}/lib ./ext/psych`
- `cp -rf .#{upstream}/test/psych ./test`
+ `cp -rf #{upstream}/ext/psych ./ext`
+ `cp -rf #{upstream}/lib ./ext/psych`
+ `cp -rf #{upstream}/test/psych ./test`
FileUtils.rm_rf(%w[ext/psych/lib/org ext/psych/lib/psych.jar ext/psych/lib/psych_jars.rb])
FileUtils.rm_rf(%w[ext/psych/lib/psych.{bundle,so} ext/psych/lib/2.*])
FileUtils.rm_rf(["ext/psych/yaml/LICENSE"])
- `cp .#{upstream}/psych.gemspec ext/psych/`
+ `cp #{upstream}/psych.gemspec ext/psych/`
`git checkout ext/psych/depend`
when "fiddle"
FileUtils.rm_rf(%w[ext/fiddle test/fiddle])