rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=28e750c1258aaca6366348be99bdefab4345ab6b
commit 28e750c1258aaca6366348be99bdefab4345ab6b Author: Vyacheslav Reutskiy <v.reuts...@samsung.com> Date: Thu Oct 13 10:54:30 2016 +0300 project manager: make check input args less aggressive Change-Id: I4d1ad0e2e8583d5d241311bd90674c94eadcc090 --- src/bin/project_manager/project_manager2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/project_manager/project_manager2.c b/src/bin/project_manager/project_manager2.c index e2bf98f..35a6006 100644 --- a/src/bin/project_manager/project_manager2.c +++ b/src/bin/project_manager/project_manager2.c @@ -1216,10 +1216,9 @@ pm_group_source_code_export(Project *project, Project_Process_Data *ppd; Group2 *group; Eina_Strbuf *cmd; - Eina_List *l; + Eina_List *g, *l; assert(project != NULL); - assert(groups != NULL); assert(path != NULL); last_error = PM_PROJECT_SUCCESS; @@ -1231,7 +1230,8 @@ pm_group_source_code_export(Project *project, cmd = eina_strbuf_new(); eina_strbuf_append_printf(cmd, "%s --edj %s --path %s -s -u", ap.path.exporter, project->saved_edj, path); - EINA_LIST_FOREACH(groups, l, group) + g = groups ? groups : project->groups; + EINA_LIST_FOREACH(g, l, group) eina_strbuf_append_printf(cmd, " -g %s", group->common.name); ecore_exe_pipe_run(eina_strbuf_string_get(cmd), FLAGS, NULL); --