diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-07 02:06:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-07 02:06:24 +0000 |
commit | cdcae92de95d553f164351503fbba5488da5c86b (patch) | |
tree | 25d2b5d2130296148d8697281c1e55fba074ff8e /template | |
parent | aa68fd85b9c760b0281b7be803ae4a5505ca7090 (diff) |
common.mk: same fake.rb
* common.mk (fake.rb): generate from same template on all
platforms including win32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r-- | template/fake.rb.in | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/template/fake.rb.in b/template/fake.rb.in index 8e461c57a4..0363b10e83 100644 --- a/template/fake.rb.in +++ b/template/fake.rb.in @@ -19,11 +19,7 @@ class Object RUBY_DESCRIPTION = "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]" end builddir = File.dirname(__FILE__) -top_srcdir = "@abs_top_srcdir@" -if /mingw/ =~ RUBY_PLATFORM - # convert MSYS path to Windows path - top_srcdir.sub!(/\A\/([a-z])\//, '\\1:/') -end +top_srcdir = File.join(builddir, "@srcdir@") $:.unshift(File.expand_path(builddir)) fake = File.join(top_srcdir, "tool/fake.rb") eval(File.read(fake), nil, fake) |