Do not double "yp_" prefix [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2023-08-08 08:09:02 +09:00
parent a5ffcfbd8a
commit 0e5da05a32
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -412,6 +412,7 @@ module SyncDefaultGems
# Move all files in enc to be prefixed with yp_ in order
# to deconflict them from non-yarp enc files
(Dir.entries("yarp/enc/") - ["..", "."]).each do |f|
next if f.start_with?("yp_")
mv "yarp/enc/#{f}", "yarp/enc/yp_#{f}"
end