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
commit2ef7c8ce599aeb5cbec91976f2db539d251968da (patch)
tree942b5eb652da935a51cfdedcab1169d799033327 /mixlib
parent69c2d3eea15619608e516db139ed2f7912665661 (diff)
downloadmdk-2ef7c8ce599aeb5cbec91976f2db539d251968da.tar.gz
mdk-2ef7c8ce599aeb5cbec91976f2db539d251968da.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;
}