revert 79ebdb5f for the time being #1110

parent 65bccbe7
......@@ -249,11 +249,9 @@ module MRuby
def run(out, infiles, funcname)
@command ||= @build.mrbcfile
commandline = "#{filename @command} #{@compile_options % {:funcname => funcname}}"
IO.popen(commandline, 'r+') do |io|
IO.popen("#{filename @command} #{@compile_options % {:funcname => funcname}}", 'r+') do |io|
[infiles].flatten.each do |f|
_pp "MRBC", f.relative_path, nil, :indent => 2
log "#{commandline} ## #{f}"
io.write IO.read(f)
end
io.close_write
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment