diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-30 02:59:59 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-30 02:59:59 +0000 |
commit | 7b83d04514fc55c53dd78faad6b7856b8572109b (patch) | |
tree | ca2a3a258cd39be5ccd900afbe3b50d5092c9e80 /bootstraptest/runner.rb | |
parent | 3c5d20272f7d5dbd021ed0a4d646172ff06c850d (diff) |
* bootstraptest/runner.rb: fix -I../../hoge case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/runner.rb')
-rw-r--r-- | bootstraptest/runner.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 27b82947f2..72840c4fa9 100644 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -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=(.*)/ |