diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-08-03 17:40:05 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-08-03 17:40:05 +0900 |
commit | 2346e2f0db50c577af6568e5697d39553d7ddb67 (patch) | |
tree | acb06a933b072fb35fc65888b8d4b6f9005d9d29 /tool | |
parent | 1cc91b6341ae5100e1e0f83c28ee7eb53bd2662f (diff) |
Followed up b2d96abb42abbe2e01f010ffc9ac51f0f9a50002 for net-ftp.
Diffstat (limited to 'tool')
-rw-r--r-- | tool/sync_default_gems.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 2b36265904..e9c4b27d5b 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -243,11 +243,10 @@ def sync_default_gems(gem) cp_r("#{upstream}/test/net/imap", "test/net") cp_r("#{upstream}/net-imap.gemspec", "lib/net/imap") when "net-ftp" - rm_rf(%w[lib/net/ftp.rb lib/net/ftp test/net/ftp]) + rm_rf(%w[lib/net/ftp.rb lib/net/net-ftp.gemspec test/net/ftp]) cp_r("#{upstream}/lib/net/ftp.rb", "lib/net") - cp_r("#{upstream}/lib/net/ftp", "lib/net") cp_r("#{upstream}/test/net/ftp", "test/net") - cp_r("#{upstream}/net-ftp.gemspec", "lib/net/ftp") + cp_r("#{upstream}/net-ftp.gemspec", "lib/net") when "net-http" rm_rf(%w[lib/net/http.rb lib/net/http test/net/http]) cp_r("#{upstream}/lib/net/http.rb", "lib/net") |