[前][次][番号順一覧][スレッド一覧]

ruby-changes:3846

From: ko1@a...
Date: Wed, 30 Jan 2008 12:00:15 +0900 (JST)
Subject: [ruby-changes:3846] naruse - Ruby:r15335 (trunk): * bootstraptest/runner.rb: fix -I../../hoge case.

naruse	2008-01-30 11:59:59 +0900 (Wed, 30 Jan 2008)

  New Revision: 15335

  Modified files:
    trunk/ChangeLog
    trunk/bootstraptest/runner.rb

  Log:
    * bootstraptest/runner.rb: fix -I../../hoge case.

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15335&r2=15334&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/runner.rb?r1=15335&r2=15334&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 15334)
+++ ChangeLog	(revision 15335)
@@ -1,3 +1,7 @@
+Wed Jan 30 11:57:50 2008  NARUSE, Yui  <naruse@r...>
+
+	* bootstraptest/runner.rb: fix -I../../hoge case.
+
 Wed Jan 30 01:25:16 2008  Yusuke Endoh  <mame@t...>
 
 	* test/ruby/test_range.rb: add tests to achieve over 90% test coverage
Index: bootstraptest/runner.rb
===================================================================
--- bootstraptest/runner.rb	(revision 15334)
+++ bootstraptest/runner.rb	(revision 15335)
@@ -50,7 +50,8 @@
   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=(.*)/

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]