summaryrefslogtreecommitdiff
path: root/src/bin/edje
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2014-10-31 10:45:28 +0100
committerCedric BAIL <cedric@osg.samsung.com>2014-10-31 10:45:28 +0100
commit7b2aecff7916fa09d18dd704ecca294558341376 (patch)
treefdae37e27c4e0e852b905cc89f7b7de98683b476 /src/bin/edje
parent339ae93f82919edc15eee69b16f2cb6ec87fb140 (diff)
edje: use the right variable.
Thanks michelle_lg.
Diffstat (limited to 'src/bin/edje')
-rw-r--r--src/bin/edje/edje_cc_parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c
index 57ddc62ac9..ef35ef2e36 100644
--- a/src/bin/edje/edje_cc_parse.c
+++ b/src/bin/edje/edje_cc_parse.c
@@ -976,13 +976,13 @@ compile(void)
976 snprintf(buf, sizeof(buf), "%s -anotate -a %s %s -I%s %s -o %s" 976 snprintf(buf, sizeof(buf), "%s -anotate -a %s %s -I%s %s -o %s"
977 " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d", 977 " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d",
978 buf2, watchfile ? watchfile : "/dev/null", file_in, 978 buf2, watchfile ? watchfile : "/dev/null", file_in,
979 inc, def, tmpn, 979 inc, def, clean_file,
980 EINA_VERSION_MAJOR, EINA_VERSION_MINOR); 980 EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
981 else 981 else
982 snprintf(buf, sizeof(buf), "%s -a %s %s -I%s %s -o %s" 982 snprintf(buf, sizeof(buf), "%s -a %s %s -I%s %s -o %s"
983 " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d", 983 " -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d",
984 buf2, watchfile ? watchfile : "/dev/null", file_in, 984 buf2, watchfile ? watchfile : "/dev/null", file_in,
985 inc, def, tmpn, 985 inc, def, clean_file,
986 EINA_VERSION_MAJOR, EINA_VERSION_MINOR); 986 EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
987 ret = system(buf); 987 ret = system(buf);
988 } 988 }
@@ -992,7 +992,7 @@ compile(void)
992 exit(-1); 992 exit(-1);
993 } 993 }
994 if (ret == EXIT_SUCCESS) 994 if (ret == EXIT_SUCCESS)
995 file_in = (char *)tmpn; 995 file_in = (char *)clean_file;
996 else 996 else
997 { 997 {
998 ERR("Exit code of epp not clean: %i", ret); 998 ERR("Exit code of epp not clean: %i", ret);