Skip to content

Commit 8716582

Browse files
committed
[GR-15047] JT: Always prefix the name with "truffleruby-", both for mxbuild/ and the Ruby manager.
PullRequest: truffleruby/847
2 parents df16b2e + a8d1c4b commit 8716582

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tool/jt.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1940,6 +1940,7 @@ def build_graalvm(*options)
19401940
else
19411941
native ? 'native' : 'jvm'
19421942
end
1943+
name = "truffleruby-#{name}"
19431944

19441945
mx_args = ['-p', TRUFFLERUBY_DIR,
19451946
'--dynamicimports', '/vm',
@@ -1950,7 +1951,7 @@ def build_graalvm(*options)
19501951
mx(*mx_args, 'build')
19511952
build_dir = mx(*mx_args, 'graalvm-home', capture: true).lines.last.chomp
19521953

1953-
dest = "#{TRUFFLERUBY_DIR}/mxbuild/truffleruby-#{name}"
1954+
dest = "#{TRUFFLERUBY_DIR}/mxbuild/#{name}"
19541955
dest_ruby = "#{dest}/jre/languages/ruby"
19551956
dest_bin = "#{dest_ruby}/bin"
19561957
FileUtils.rm_rf dest

0 commit comments

Comments
 (0)