1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2019-04-18 22:30:01 +00:00
parent c3c4e411eb
commit 14626ed20a

View file

@ -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