forked from enlightenment/efl
embryo_cc - remove trainling / from path for windows stat so it works
This commit is contained in:
parent
981bdc16f6
commit
1c2da046dc
|
@ -574,7 +574,7 @@ parseoptions(int argc, char **argv, char *iname, char *oname,
|
|||
if (getenv("EFL_RUN_IN_TREE"))
|
||||
{
|
||||
struct stat st;
|
||||
snprintf(str, sizeof(str), "%s/data/embryo/", PACKAGE_SRC_DIR);
|
||||
snprintf(str, sizeof(str), "%s/data/embryo", PACKAGE_SRC_DIR);
|
||||
if (stat(str, &st) != 0)
|
||||
str[0] = '\0';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue