From 14626ed20a6677ab767e764c9edff83f94872f1a Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 18 Apr 2019 22:30:01 +0000 Subject: fake.rb.in: split by whitespaces not to be affected by -F option git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- template/fake.rb.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/fake.rb.in b/template/fake.rb.in index 5788af1781..f1da719ecb 100644 --- a/template/fake.rb.in +++ b/template/fake.rb.in @@ -45,6 +45,6 @@ eval(File.binread(fake), nil, fake) 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 -- cgit v1.2.3