[前][次][番号順一覧][スレッド一覧]

ruby-changes:56457

From: Hiroshi <ko1@a...>
Date: Sun, 14 Jul 2019 15:25:01 +0900 (JST)
Subject: [ruby-changes:56457] Hiroshi SHIBATA: d25f355c65 (master): Fixup dccb0e1ec94e7b9c13c715939ae7e0ccc4ffb23e

https://git.ruby-lang.org/ruby.git/commit/?id=d25f355c65

From d25f355c655704d483ca402d0ac2644adb5733b0 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Sun, 14 Jul 2019 15:07:17 +0900
Subject: Fixup dccb0e1ec94e7b9c13c715939ae7e0ccc4ffb23e


diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 52453ee..f958535 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -117,22 +117,22 @@ def sync_default_gems(gem) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L117
     `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])
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]