1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use realpath to try to fix failures with symlinks

This commit is contained in:
Kazuhiro NISHIYAMA 2019-11-23 11:41:27 +09:00
parent 818708edab
commit 9318e1ff3e
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -140,6 +140,7 @@ class Dummy
end
EOF
end
dummy_script = File.realpath dummy_script
script = File.join(dir, "require_tracer.rb")
open(script, "w") do |f|
f.print <<-EOF
@ -191,6 +192,7 @@ class Dummy
end
EOF
end
dummy_script = File.realpath dummy_script
script = File.join(dir, "require_tracer.rb")
open(script, "w") do |f|
f.print <<-EOF