From 0e5da05a32a4b46998f7465cf7b6825e081b65a8 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 8 Aug 2023 08:09:02 +0900 Subject: [PATCH] Do not double "yp_" prefix [ci skip] --- tool/sync_default_gems.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 081ff63c39..2b73af87a2 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -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