ruby-changes:55401
From: nobu <ko1@a...>
Date: Fri, 19 Apr 2019 07:30:06 +0900 (JST)
Subject: [ruby-changes:55401] nobu:r67609 (trunk): fake.rb.in: split by whitespaces not to be affected by -F option
nobu 2019-04-19 07:30:01 +0900 (Fri, 19 Apr 2019) New Revision: 67609 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67609 Log: fake.rb.in: split by whitespaces not to be affected by -F option Modified files: trunk/template/fake.rb.in Index: template/fake.rb.in =================================================================== --- template/fake.rb.in (revision 67608) +++ template/fake.rb.in (revision 67609) @@ -45,6 +45,6 @@ eval(File.binread(fake), nil, fake) https://github.com/ruby/ruby/blob/trunk/template/fake.rb.in#L45 ropt = "-r#{__FILE__}" ["RUBYOPT"].each do |flag| opt = ENV[flag] - opt = opt ? ([ropt] | opt.b.split).join(" ") : ropt + opt = opt ? ([ropt] | opt.b.split(/\s+/)).join(" ") : ropt ENV[flag] = opt end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/