rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=1d2acdbc866713053505ac4d584ccd750a2a1908
commit 1d2acdbc866713053505ac4d584ccd750a2a1908 Author: Vitalii Vorobiov <vi.vorob...@samsung.com> Date: Wed Nov 30 15:29:53 2016 +0200 project_manager: destroy correct path of new project Or else it might destroy your $HOME or whatever was installed as project main directory @fix --- src/bin/project_manager/project_manager2.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/project_manager/project_manager2.c b/src/bin/project_manager/project_manager2.c index c243670..405122d 100644 --- a/src/bin/project_manager/project_manager2.c +++ b/src/bin/project_manager/project_manager2.c @@ -936,6 +936,7 @@ pm_project_import_edj(const char *name, const void *data) { Project_Process_Data *ppd; + Eina_Stringshare *pro_path; assert(name != NULL); assert(path != NULL); @@ -958,7 +959,9 @@ pm_project_import_edj(const char *name, Project *project = ppd->project; _project_process_data_cleanup(ppd); _project_close_internal(project); - ecore_file_recursive_rm(spath); + pro_path = eina_stringshare_printf("%s/%s", spath, name); + ecore_file_recursive_rm(pro_path); + eina_stringshare_del(pro_path); } free(spath); --