mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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
This commit is contained in:
parent
3fb38c6178
commit
3f6e8aef37
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sat Jun 16 07:12:56 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* tool/runruby.rb (File.realpath): return real path of expanded path.
|
||||||
|
[Bug #6598]
|
||||||
|
|
||||||
Sat Jun 16 07:12:28 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sat Jun 16 07:12:28 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* bootstraptest/runner.rb (main): ignore -j option for compatibility
|
* bootstraptest/runner.rb (main): ignore -j option for compatibility
|
||||||
|
|
|
@ -34,8 +34,7 @@ end
|
||||||
|
|
||||||
unless defined?(File.realpath)
|
unless defined?(File.realpath)
|
||||||
def File.realpath(*args)
|
def File.realpath(*args)
|
||||||
Dir.chdir do
|
Dir.chdir(expand_path(*args)) do
|
||||||
expand_path(*args)
|
|
||||||
Dir.pwd
|
Dir.pwd
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue