summaryrefslogtreecommitdiff
path: root/bootstraptest/runner.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bootstraptest/runner.rb')
-rw-r--r--bootstraptest/runner.rb3
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=(.*)/