jaehyun pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=f911b6067b61c0a62c342d8908789c9980ff87a2

commit f911b6067b61c0a62c342d8908789c9980ff87a2
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Tue Mar 7 16:18:09 2017 +0900

    build: Support edc in path containing space character
    
    Previously, if edc file is located in a path containing space character,
    then, edje_cc did not work.
    
    Now, to resolve the above issue, edc file path is treated with double
    quotation marks.
---
 src/lib/build.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/build.c b/src/lib/build.c
index 105ffce..1700931 100644
--- a/src/lib/build.c
+++ b/src/lib/build.c
@@ -61,7 +61,9 @@ strbuf_path_get(build_data *bd, Enventor_Path_Type type, 
const char *syntax)
    EINA_LIST_FOREACH(bd->pathes_list[type], l, path)
      {
         eina_strbuf_append(strbuf, syntax);
+        eina_strbuf_append(strbuf, "\"");
         eina_strbuf_append(strbuf, path);
+        eina_strbuf_append(strbuf, "\"");
      }
    return strbuf;
 }
@@ -99,7 +101,7 @@ build_cmd_set(build_data *bd)
      }
 
    eina_strbuf_append_printf(strbuf,
-      "edje_cc -fastcomp %s %s -id %s/images -sd %s/sounds -fd %s/fonts -dd 
%s/data %s %s %s %s -beta",
+      "edje_cc -fastcomp \"%s\" \"%s\" -id \"%s/images\" -sd \"%s/sounds\" -fd 
\"%s/fonts\" -dd \"%s/data\" %s %s %s %s -beta",
       bd->edc_path,
       (char *) eina_list_data_get(bd->pathes_list[ENVENTOR_PATH_TYPE_EDJ]),
       elm_app_data_dir_get(),

-- 


Reply via email to