Skip sync failure when we specified old version

This commit is contained in:
Hiroshi SHIBATA 2024-11-25 10:58:18 +09:00
parent 30fda41139
commit b305df8c78
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -277,7 +277,10 @@ module SyncDefaultGems
cp_r("#{upstream}/ext/strscan", "ext")
cp_r("#{upstream}/test/strscan", "test")
cp_r("#{upstream}/strscan.gemspec", "ext/strscan")
begin
cp_r("#{upstream}/doc/strscan", "doc")
rescue Errno::ENOENT
end
rm_rf(%w["ext/strscan/regenc.h ext/strscan/regint.h"])
`git checkout ext/strscan/depend`
when "cgi"