mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fake.rb.in: use absolute path
* template/fake.rb.in (top_srcdir): use absolute path to resolve symbolic links in srcdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
097c3e9cbb
commit
f32e38a951
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class Object
|
|||
RUBY_DESCRIPTION = "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
|
||||
end
|
||||
builddir = File.dirname(__FILE__)
|
||||
top_srcdir = File.expand_path("@srcdir@", builddir)
|
||||
top_srcdir = "@abs_top_srcdir@"
|
||||
$:.unshift(File.expand_path(builddir))
|
||||
fake = File.join(top_srcdir, "tool/fake.rb")
|
||||
eval(File.read(fake), nil, fake)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue