mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix template/fake.rb.in if ENV["RUBYOPT"] is nil
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5e9cd5208e
commit
35f2b71ce9
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ fake = File.join(top_srcdir, "tool/fake.rb")
|
|||
eval(File.binread(fake), nil, fake)
|
||||
ropt = "-r#{__FILE__}"
|
||||
["RUBYOPT"].each do |flag|
|
||||
opt = ENV[flag].b
|
||||
opt = opt ? ([ropt] | opt.split).join(" ") : ropt
|
||||
opt = ENV[flag]
|
||||
opt = opt ? ([ropt] | opt.b.split).join(" ") : ropt
|
||||
ENV[flag] = opt
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue