diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2020-03-10 17:24:47 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2020-03-10 17:41:01 +0900 |
commit | 61cfd6da84e9cbf02c2e3ff5fae476fec92a1cec (patch) | |
tree | 83ea9e3476d93c222dc5cd6c93f255cbe424ca58 /tool | |
parent | 28f3e038805a4f396f228c6884c531677c075867 (diff) | |
download | ruby-61cfd6da84e9cbf02c2e3ff5fae476fec92a1cec.tar.gz |
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')
-rw-r--r-- | tool/sync_default_gems.rb | 8 |
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]) |