From dcf292877fea163e0f93bcd00a484af1fc0f4295 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 30 Jan 2008 02:59:59 +0000 Subject: * bootstraptest/runner.rb: fix -I../../hoge case. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/runner.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bootstraptest') diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 27b82947f..72840c4fa 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=(.*)/ -- cgit