Skip to content

Commit

Permalink
fake.rb.in: split by whitespaces not to be affected by -F option
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Apr 18, 2019
1 parent c3c4e41 commit 14626ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/fake.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 14626ed

Please sign in to comment.