mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* bootstraptest/runner.rb: fix -I../../hoge case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3c5d20272f
commit
7b83d04514
2 changed files with 6 additions and 1 deletions
|
@ -50,7 +50,8 @@ def main
|
|||
ARGV.delete_if {|arg|
|
||||
case arg
|
||||
when /\A--ruby=(.*)/
|
||||
@ruby = File.expand_path($1)
|
||||
@ruby = $1
|
||||
@ruby.gsub!(/^([^ ]*)/){File.expand_path($1)}
|
||||
@ruby.gsub!(/-I([^ ]*)/){"-I"+File.expand_path($1)}
|
||||
true
|
||||
when /\A--sets=(.*)/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue