From 3f6e8aef372dab1ece62c93e0d048d605f7aed15 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 15 Jun 2012 22:12:58 +0000 Subject: [Bug #6598] * tool/runruby.rb (File.realpath): return real path of expanded path. [Bug #6598] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/runruby.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tool') diff --git a/tool/runruby.rb b/tool/runruby.rb index 0165634edf..86b9327350 100755 --- a/tool/runruby.rb +++ b/tool/runruby.rb @@ -34,8 +34,7 @@ end unless defined?(File.realpath) def File.realpath(*args) - Dir.chdir do - expand_path(*args) + Dir.chdir(expand_path(*args)) do Dir.pwd end end -- cgit v1.2.3