summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2020-03-10 17:24:47 +0900
committerKazuki Yamaguchi <k@rhe.jp>2020-03-10 17:41:01 +0900
commit61cfd6da84e9cbf02c2e3ff5fae476fec92a1cec (patch)
tree83ea9e3476d93c222dc5cd6c93f255cbe424ca58 /tool/sync_default_gems.rb
parent28f3e038805a4f396f228c6884c531677c075867 (diff)
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_*.
Diffstat (limited to 'tool/sync_default_gems.rb')
-rw-r--r--tool/sync_default_gems.rb8
1 files 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])