mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
make_encmake.rb: fix typo
* enc/make_encmake.rb: fix typo, and use real read filename. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5e57ff2138
commit
8299027f2e
1 changed files with 3 additions and 2 deletions
|
@ -120,8 +120,9 @@ open(ARGV[0], 'wb') {|f|
|
|||
f.puts mkin, dep
|
||||
}
|
||||
if MODULE_TYPE == :static
|
||||
erb = ERB.new(File.read(File.join($srcdir, "encinit.c.erb")), nil, '%-')
|
||||
erb.filename = "enc/encinit.c.cerb"
|
||||
filename = "encinit.c.erb"
|
||||
erb = ERB.new(File.read(File.join($srcdir, filename)), nil, '%-')
|
||||
erb.filename = "enc/#{filename}"
|
||||
tmp = erb.result(binding)
|
||||
begin
|
||||
Dir.mkdir 'enc'
|
||||
|
|
Loading…
Reference in a new issue