1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fixed target directory when copying from upstream

This commit is contained in:
Hiroshi SHIBATA 2021-05-27 17:15:58 +09:00
parent c1c60a4498
commit 029169bc5b
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -303,7 +303,7 @@ def sync_default_gems(gem)
when "digest"
rm_rf(%w[ext/digest test/digest])
cp_r("#{upstream}/ext/digest", "ext")
mkdir_p("#{upstream}/ext/digest/lib")
mkdir_p("ext/digest/lib")
cp_r("#{upstream}/lib/digest.rb", "ext/digest/lib/")
cp_r("#{upstream}/test/digest", "test")
cp_r("#{upstream}/digest.gemspec", "ext/digest")