summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-07-29 17:07:36 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-07-29 19:10:10 +0900
commit62849b337988268b4209c58b6de02d0002c78988 (patch)
tree6593566f8733e8f37e7be593d24473bcebd38d7a /tool/sync_default_gems.rb
parent4e886d2adeaa3ae8a408fa549f19f203b82d9550 (diff)
downloadruby-62849b337988268b4209c58b6de02d0002c78988.tar.gz
Keep gitignore for libyaml source with psych
Diffstat (limited to 'tool/sync_default_gems.rb')
-rwxr-xr-xtool/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 47f6f1c840..e3b940e2d5 100755
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -184,7 +184,7 @@ def sync_default_gems(gem)
rm_rf(%w[ext/psych/lib/psych.{bundle,so} ext/psych/lib/2.*])
rm_rf(["ext/psych/yaml/LICENSE"])
cp_r("#{upstream}/psych.gemspec", "ext/psych")
- `git checkout ext/psych/depend`
+ `git checkout ext/psych/depend ext/psych/.gitignore`
when "fiddle"
rm_rf(%w[ext/fiddle test/fiddle])
cp_r("#{upstream}/ext/fiddle", "ext")