embryo_cc - remove trainling / from path for windows stat so it works

This commit is contained in:
Carsten Haitzler 2014-01-23 08:45:44 +09:00
parent 981bdc16f6
commit 1c2da046dc
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}