tools/configure.c: Fix test for the extence of the apps/ dir. This is part of SourceForge Ticket #39

This commit is contained in:
Gregory Nutt 2015-05-31 12:48:34 -06:00
parent 9ee6b2db70
commit 2a874183c5
1 changed files with 1 additions and 2 deletions

View File

@ -588,8 +588,7 @@ static void check_appdir(void)
} }
else else
{ {
snprintf(g_buffer, BUFFER_SIZE, "%s%c%s", g_topdir, g_delim, g_appdir); if (!verify_appdir(g_appdir))
if (!verify_appdir(g_buffer))
{ {
fprintf(stderr, "ERROR: Command line path to application directory does not exist\n"); fprintf(stderr, "ERROR: Command line path to application directory does not exist\n");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);