1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
nobu 2012-06-15 22:12:58 +00:00
parent 3fb38c6178
commit 3f6e8aef37
2 changed files with 6 additions and 2 deletions

View file

@ -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