diff options
| author | take_cheeze <[email protected]> | 2014-03-14 03:44:22 +0900 |
|---|---|---|
| committer | take_cheeze <[email protected]> | 2014-03-14 03:44:22 +0900 |
| commit | deb5f59bec6d8da315bcec0d593d931bb759a12f (patch) | |
| tree | a5bf1610b193c75bee54af8d65a7dbdf578c127a /tasks/mruby_build_commands.rake | |
| parent | 58362fc30c7e63bb1acf739eeb9a7832a0e3e450 (diff) | |
| download | mruby-deb5f59bec6d8da315bcec0d593d931bb759a12f.tar.gz mruby-deb5f59bec6d8da315bcec0d593d931bb759a12f.zip | |
fix compile error check of Mrbc command
Diffstat (limited to 'tasks/mruby_build_commands.rake')
| -rw-r--r-- | tasks/mruby_build_commands.rake | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
