Merge pull request #195 from mwleeds/add-msg

builder: Print a message when running flatpak build-finish
tingping/wmclass
matthiasclasen 2016-07-19 08:04:26 -04:00 committed by GitHub
commit 0c483f4412
1 changed files with 4 additions and 0 deletions

View File

@ -1670,6 +1670,7 @@ builder_manifest_finish (BuilderManifest *self,
g_autoptr(GFile) locale_parent_dir = NULL;
g_autofree char *app_dir_path = g_file_get_path (app_dir);
g_autofree char *json = NULL;
g_autofree char *commandline = NULL;
g_autoptr(GPtrArray) args = NULL;
g_autoptr(GSubprocess) subp = NULL;
int i;
@ -1726,6 +1727,9 @@ builder_manifest_finish (BuilderManifest *self,
g_ptr_array_add (args, g_strdup (app_dir_path));
g_ptr_array_add (args, NULL);
commandline = g_strjoinv (" ", (char **) args->pdata);
g_print ("Running: %s\n", commandline);
subp =
g_subprocess_newv ((const gchar * const *) args->pdata,
G_SUBPROCESS_FLAGS_NONE,