diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-26 04:51:19 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-26 04:51:19 +0000 |
commit | eec0176d149576bfc8dc90bedf502013752977b2 (patch) | |
tree | 84fd72f96b31558b1fdbfdf07eaeb16f2e44880a /template | |
parent | 949634f51ae1b20779e3ee578b17c8b9442951ef (diff) | |
download | ruby-eec0176d149576bfc8dc90bedf502013752977b2.tar.gz |
* template/fake.rb.in: fix failed to make install when srcdir != builddir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-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 e4683353ee..0b454f1e3e 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.join(builddir, "@srcdir@") +top_srcdir = File.expand_path("@srcdir@", builddir) $:.unshift(File.expand_path(builddir)) fake = File.join(top_srcdir, "tool/fake.rb") eval(File.read(fake), nil, fake) |