summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-18 22:30:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-18 22:30:01 +0000
commit14626ed20a6677ab767e764c9edff83f94872f1a (patch)
tree0625aaa3000ab2f9765781bdea66c60f80b7d4fe /template
parentc3c4e411ebd94403055360506ccac248114eebba (diff)
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
Diffstat (limited to 'template')
-rw-r--r--template/fake.rb.in2
1 files changed, 1 insertions, 1 deletions
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