diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-09 00:31:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-09 00:31:21 +0000 |
commit | f32e38a951e7fc8b6088e107cb503dca8fa14eb2 (patch) | |
tree | 07a1db842b18d893c97e410b83be50e82e1ae196 | |
parent | 097c3e9cbbf23718371f08c24b2d2297b039f63f (diff) | |
download | ruby-f32e38a951e7fc8b6088e107cb503dca8fa14eb2.tar.gz |
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
-rw-r--r-- | template/fake.rb.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/fake.rb.in b/template/fake.rb.in index 0b454f1e3e..8b4e6e5aa3 100644 --- a/template/fake.rb.in +++ b/template/fake.rb.in @@ -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) |