From 01eb5c0f18f3eee44aee59a36399c3d56ba961e3 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 1 Jul 2024 11:07:49 +0900 Subject: [PATCH] Skip to copy .so/.bundle files generated by rake-compiler --- tool/sync_default_gems.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index b624282314c37b..8328a1680cc1a2 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -279,7 +279,8 @@ def sync_default_gems(gem) when "cgi" rm_rf(%w[lib/cgi.rb lib/cgi ext/cgi test/cgi]) cp_r("#{upstream}/ext/cgi", "ext") - cp_r("#{upstream}/lib", ".") + cp_r("#{upstream}/lib/cgi", "lib") + cp_r("#{upstream}/lib/cgi.rb", "lib") rm_rf("lib/cgi/escape.jar") cp_r("#{upstream}/test/cgi", "test") cp_r("#{upstream}/cgi.gemspec", "lib/cgi")