From 5ae6e1db2f7f181039b05cbb562573321f419a8e Mon Sep 17 00:00:00 2001 From: Jaehyun Cho Date: Mon, 2 Jan 2017 19:59:06 +0900 Subject: [PATCH] edje_cc_parse: Fix to insert missing double quotation marks --- src/bin/edje/edje_cc_parse.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c index ed55bf3fd3..f0bd00397c 100644 --- a/src/bin/edje/edje_cc_parse.c +++ b/src/bin/edje/edje_cc_parse.c @@ -1069,7 +1069,7 @@ compile(void) inc = ecore_file_dir_get(file_in); if (depfile) - snprintf(buf, sizeof(buf), "%s -MMD \"%s\" -MT \"%s\" \"%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, @@ -1077,7 +1077,7 @@ compile(void) inc ? inc : "./", def, clean_file, EINA_VERSION_MAJOR, EINA_VERSION_MINOR); else if (annotate) - snprintf(buf, sizeof(buf), "%s -annotate -a \"%s\" \"%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, @@ -1085,8 +1085,8 @@ compile(void) 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,