diff --git a/tool/jt.rb b/tool/jt.rb index f22f39c4ac1f..1326a38f706b 100755 --- a/tool/jt.rb +++ b/tool/jt.rb @@ -2533,13 +2533,8 @@ def sforceimports dest = "#{TRUFFLERUBY_DIR}/mxbuild/#{name}" FileUtils.rm_rf dest - if @ruby_name != @mx_env - # if `--name NAME` is passed, we want to copy so we don't end up with two symlinks - # to the same directory for the same --env but different names - FileUtils.cp_r(build_dir, dest) - else - File.symlink(build_dir, dest) - end + # NOTE: revert the changes and create a symlink if possible when [GR-53433] is resolved + FileUtils.cp_r(build_dir, dest) # Symlink builds into version manager rbenv_root = ENV['RBENV_ROOT']