From deb5f59bec6d8da315bcec0d593d931bb759a12f Mon Sep 17 00:00:00 2001 From: take_cheeze Date: Fri, 14 Mar 2014 03:44:22 +0900 Subject: fix compile error check of Mrbc command --- tasks/mruby_build_commands.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tasks') diff --git a/tasks/mruby_build_commands.rake b/tasks/mruby_build_commands.rake index 24a77206a..d64b20ff3 100644 --- a/tasks/mruby_build_commands.rake +++ b/tasks/mruby_build_commands.rake @@ -271,7 +271,7 @@ module MRuby out.puts io.read end # if mrbc execution fail, drop the file - unless $?.exitstatus + if $?.exitstatus != 0 File.delete(out.path) exit(-1) end -- cgit v1.2.3