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:
parent
c3c4e411eb
commit
14626ed20a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue