We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dbab1a commit 2d32048Copy full SHA for 2d32048
tool/jt.rb
@@ -1862,6 +1862,16 @@ def build_graalvm(*options)
1862
rubies_dir = chruby_versions if File.directory?(chruby_versions)
1863
1864
if rubies_dir
1865
+ Dir.glob(rubies_dir + "/*").each do |link|
1866
+ if File.symlink?(link)
1867
+ target = File.readlink(link)
1868
+ unless File.exist?(target)
1869
+ File.delete link
1870
+ puts "Deleted old link: #{link} -> #{target}"
1871
+ end
1872
1873
1874
+
1875
link_path = "#{rubies_dir}/#{name}"
1876
File.delete link_path if File.exist? link_path
1877
File.symlink dest_ruby, link_path
0 commit comments