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

ruby-changes:39684

From: nobu <ko1@a...>
Date: Sat, 5 Sep 2015 11:00:41 +0900 (JST)
Subject: [ruby-changes:39684] nobu:r51765 (trunk): fake.rb: fix builddir

nobu	2015-09-05 11:00:34 +0900 (Sat, 05 Sep 2015)

  New Revision: 51765

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

  Log:
    fake.rb: fix builddir
    
    * tool/fake.rb: builddir should be "." if it is the current
      working directory.

  Modified files:
    trunk/tool/fake.rb
Index: tool/fake.rb
===================================================================
--- tool/fake.rb	(revision 51764)
+++ tool/fake.rb	(revision 51765)
@@ -42,6 +42,7 @@ prehook = proc do |extmk| https://github.com/ruby/ruby/blob/trunk/tool/fake.rb#L42
       pwd.shift
     end
     builddir = File.join([".."]*pwd.size + dir)
+    builddir = "." if builddir.empty?
   end
   $topdir ||= builddir
   $top_srcdir ||= File.join($topdir, srcdir)

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

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