add more error checking to parse.c
This commit is contained in:
parent
5e7706d2c2
commit
2a579f070e
@ -60,7 +60,7 @@ char checkForFiles() {
|
|||||||
printf(COL_YELLOW "WRN" COL_RESET " | use a config.emk file, rather\n");
|
printf(COL_YELLOW "WRN" COL_RESET " | use a config.emk file, rather\n");
|
||||||
printf(COL_YELLOW "WRN" COL_RESET " | than embedding settings directly\n");
|
printf(COL_YELLOW "WRN" COL_RESET " | than embedding settings directly\n");
|
||||||
printf(COL_YELLOW "WRN" COL_RESET " | within the emkfile.\n");
|
printf(COL_YELLOW "WRN" COL_RESET " | within the emkfile.\n");
|
||||||
} else if (gwtcwd(cwd, sizeof(cwd)) != NULL) {
|
} else if (getcwd(cwd, sizeof(cwd)) != NULL) {
|
||||||
printf(COL_BLUE "INF" COL_RESET " | using config.emk at %s/config.emk\n", cwd);
|
printf(COL_BLUE "INF" COL_RESET " | using config.emk at %s/config.emk\n", cwd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user