From 61cfd6da84e9cbf02c2e3ff5fae476fec92a1cec Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Tue, 10 Mar 2020 17:24:47 +0900 Subject: [PATCH] tool/sync_default_gems.rb: update paths for openssl Now ruby/openssl has a different directory structure. The test suite is moved from /test/test_* to /test/openssl/test_*. --- tool/sync_default_gems.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index dd143e5ece..6600806abd 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -268,13 +268,11 @@ def sync_default_gems(gem) when "openssl" rm_rf(%w[ext/openssl test/openssl]) cp_r("#{upstream}/ext/openssl", "ext") - mkdir_p("ext/openssl/lib") - cp_r("#{upstream}/lib/openssl", "ext/openssl/lib") - cp_r("#{upstream}/lib/openssl.rb", "ext/openssl/lib") - cp_r("#{upstream}/test", "test/openssl") + cp_r("#{upstream}/lib", "ext/openssl") + cp_r("#{upstream}/test/openssl", "test") rm_rf("test/openssl/envutil.rb") cp_r("#{upstream}/openssl.gemspec", "ext/openssl") - cp_r("#{upstream}/HISTORY.md", "ext/openssl") + cp_r("#{upstream}/History.md", "ext/openssl") `git checkout ext/openssl/depend` when "net-pop" rm_rf(%w[lib/net/pop.rb lib/net/pop test/net/pop])