revert 79ebdb5 for the time being #1110

This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-04-01 11:45:49 +09:00
parent 65bccbe7b9
commit 96fd52af25
+1 -3
View File
@@ -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