From 32c4fd7aa36b358bb132995f7a4dcfdc2d5508ea Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 5 Sep 2015 02:00:34 +0000 Subject: fake.rb: fix builddir * tool/fake.rb: builddir should be "." if it is the current working directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/fake.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'tool') diff --git a/tool/fake.rb b/tool/fake.rb index 06f730288a..298c2043a7 100644 --- a/tool/fake.rb +++ b/tool/fake.rb @@ -42,6 +42,7 @@ prehook = proc do |extmk| pwd.shift end builddir = File.join([".."]*pwd.size + dir) + builddir = "." if builddir.empty? end $topdir ||= builddir $top_srcdir ||= File.join($topdir, srcdir) -- cgit v1.2.3