[前][次][番号順一覧][スレッド一覧]

ruby-changes:35377

From: nobu <ko1@a...>
Date: Tue, 9 Sep 2014 09:31:27 +0900 (JST)
Subject: [ruby-changes:35377] nobu:r47459 (trunk): fake.rb.in: use absolute path

nobu	2014-09-09 09:31:21 +0900 (Tue, 09 Sep 2014)

  New Revision: 47459

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47459

  Log:
    fake.rb.in: use absolute path
    
    * template/fake.rb.in (top_srcdir): use absolute path to resolve
      symbolic links in srcdir.

  Modified files:
    trunk/template/fake.rb.in
Index: template/fake.rb.in
===================================================================
--- template/fake.rb.in	(revision 47458)
+++ template/fake.rb.in	(revision 47459)
@@ -18,7 +18,7 @@ class Object https://github.com/ruby/ruby/blob/trunk/template/fake.rb.in#L18
   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)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]