diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-08-08 08:09:02 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-08-08 08:09:02 +0900 |
commit | 0e5da05a32a4b46998f7465cf7b6825e081b65a8 (patch) | |
tree | 72ba08e6a60817e732ee90d33a3d65fef70b8a24 /tool | |
parent | a5ffcfbd8acd0cea30f84fb169d3d0a408c34abd (diff) |
Do not double "yp_" prefix [ci skip]
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/sync_default_gems.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |