ruby-changes:52359
From: eregon <ko1@a...>
Date: Mon, 27 Aug 2018 23:33:14 +0900 (JST)
Subject: [ruby-changes:52359] eregon:r64568 (trunk): Fix template/fake.rb.in if ENV["RUBYOPT"] is nil
eregon 2018-08-27 23:33:10 +0900 (Mon, 27 Aug 2018) New Revision: 64568 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64568 Log: Fix template/fake.rb.in if ENV["RUBYOPT"] is nil Modified files: trunk/template/fake.rb.in Index: template/fake.rb.in =================================================================== --- template/fake.rb.in (revision 64567) +++ template/fake.rb.in (revision 64568) @@ -44,7 +44,7 @@ fake = File.join(top_srcdir, "tool/fake. https://github.com/ruby/ruby/blob/trunk/template/fake.rb.in#L44 eval(File.binread(fake), nil, fake) ropt = "-r#{__FILE__}" ["RUBYOPT"].each do |flag| - opt = ENV[flag].b - opt = opt ? ([ropt] | opt.split).join(" ") : ropt + opt = ENV[flag] + opt = opt ? ([ropt] | opt.b.split).join(" ") : ropt ENV[flag] = opt end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/