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 bd520da commit 49facf0Copy full SHA for 49facf0
tool/jt.rb
@@ -2374,7 +2374,11 @@ def bootstrap_toolchain
2374
remove_shared_compile_artifacts
2375
end
2376
2377
- FileUtils.touch(Dir.glob('src/**/BuildInformation.java').first) if options.delete('--new-hash')
+ if options.delete('--new-hash')
2378
+ build_information_path = "#{TRUFFLERUBY_DIR}/src/shared/java/org/truffleruby/shared/BuildInformation.java"
2379
+ raise unless File.exist?(build_information_path) # in case the file moves in the future
2380
+ FileUtils.touch(build_information_path)
2381
+ end
2382
2383
env = if (i = options.index('--env') || options.index('-e'))
2384
options.delete_at i
0 commit comments