jaehyun pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=c670a32053718312f4231171c2755fea88418d85
commit c670a32053718312f4231171c2755fea88418d85 Author: Jaehyun Cho <jae_hyun....@samsung.com> Date: Mon Jan 2 19:25:45 2017 +0900 edje_cc_parse: Compile EDC file whose path contains space character. Previously, edje_cc could not compile EDC file whose path contains space character since edje_cc interpreted the EDC file as separate 2 inputs. (i.e. "input file.edc" was interpreted as "input" and "file.edc") This patch enables edje_cc to interpret above case correctly. --- src/bin/edje/edje_cc_parse.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c index e5a7386..ed55bf3 100644 --- a/src/bin/edje/edje_cc_parse.c +++ b/src/bin/edje/edje_cc_parse.c @@ -1069,21 +1069,24 @@ compile(void) inc = ecore_file_dir_get(file_in); if (depfile) - snprintf(buf, sizeof(buf), "%s -MMD %s -MT %s %s -I%s %s -o %s" + snprintf(buf, sizeof(buf), "%s -MMD \"%s\" -MT \"%s\" \"%s\"" + " -I\"%s\" \"%s\" -o \"%s\"" " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d" EDJE_CC_EFL_VERSION_SUPPORTED, buf2, depfile, file_out, file_in, inc ? inc : "./", def, clean_file, EINA_VERSION_MAJOR, EINA_VERSION_MINOR); else if (annotate) - snprintf(buf, sizeof(buf), "%s -annotate -a %s %s -I%s %s -o %s" + snprintf(buf, sizeof(buf), "%s -annotate -a \"%s\" \"%s\"" + " -I\"%s\" \"%s\" -o \"%s\"" " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d" EDJE_CC_EFL_VERSION_SUPPORTED, buf2, watchfile ? watchfile : "/dev/null", file_in, inc ? inc : "./", def, clean_file, EINA_VERSION_MAJOR, EINA_VERSION_MINOR); else - snprintf(buf, sizeof(buf), "%s -a %s %s -I%s %s -o %s" + snprintf(buf, sizeof(buf), "%s -a \"%s\" \"%s\" -I\"%s\" \"%s\"" + " -o \"%s\"" " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d" EDJE_CC_EFL_VERSION_SUPPORTED, buf2, watchfile ? watchfile : "/dev/null", file_in, --