summaryrefslogtreecommitdiffhomepage
path: root/mixlib
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2001-06-05 21:23:29 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2001-06-05 21:23:29 +0000
commit0957dfd1520f0707a0375c514909e76b75cc5848 (patch)
tree31aceb95b483e16aa1399f16b178fd2cf8565f5a /mixlib
parent4c4f85d400ee8bcd9090fc2ea99d2b5c503ea9a9 (diff)
downloadmdk-0957dfd1520f0707a0375c514909e76b75cc5848.tar.gz
mdk-0957dfd1520f0707a0375c514909e76b75cc5848.tar.bz2
(cmd_compile_) messages about executed command added
Diffstat (limited to 'mixlib')
-rw-r--r--mixlib/mix_vm_command.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mixlib/mix_vm_command.c b/mixlib/mix_vm_command.c
index 52b2301..33919d5 100644
--- a/mixlib/mix_vm_command.c
+++ b/mixlib/mix_vm_command.c
@@ -613,7 +613,10 @@ cmd_compile_ (mix_vm_cmd_dispatcher_t *dis, const gchar *arg)
else
{
gchar *cmd = g_strdup_printf (dis->assembler, arg);
- system (cmd);
+ fputs (cmd, dis->out);
+ fputs ("\n", dis->out);
+ if (system (cmd) == EXIT_SUCCESS)
+ fputs (_("Successful compilation\n"), dis->out);
g_free (cmd);
return TRUE;
}