Skip to content

Commit 23ca7a1

Browse files
committed
Workaround build name clash and copy build instead of symlinking
1 parent dc120e7 commit 23ca7a1

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tool/jt.rb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2533,13 +2533,8 @@ def sforceimports
25332533

25342534
dest = "#{TRUFFLERUBY_DIR}/mxbuild/#{name}"
25352535
FileUtils.rm_rf dest
2536-
if @ruby_name != @mx_env
2537-
# if `--name NAME` is passed, we want to copy so we don't end up with two symlinks
2538-
# to the same directory for the same --env but different names
2539-
FileUtils.cp_r(build_dir, dest)
2540-
else
2541-
File.symlink(build_dir, dest)
2542-
end
2536+
# NOTE: revert the changes and create a symlink if possible when [GR-53433] is resolved
2537+
FileUtils.cp_r(build_dir, dest)
25432538

25442539
# Symlink builds into version manager
25452540
rbenv_root = ENV['RBENV_ROOT']

0 commit comments

Comments
 (0)