examples/elf: Don't bother to honor CONFIG_PATH_INITIAL

As we know where the binaries are, there's little point
to use CONFIG_PATH_INITIAL.
This commit is contained in:
YAMAMOTO Takashi 2020-02-14 18:23:25 +09:00 committed by Xiang Xiao
parent afa51c2e00
commit 66e7590dd0

View File

@ -356,10 +356,9 @@ int main(int argc, FAR char *argv[])
mm_update(&g_mmstep, "after mount");
#if defined(CONFIG_LIB_ENVPATH) && !defined(CONFIG_PATH_INITIAL)
/* Does the system support the PATH variable? Has the PATH variable
* already been set? If YES and NO, then set the PATH variable to
* the ROMFS mountpoint.
#if defined(CONFIG_LIB_ENVPATH)
/* Does the system support the PATH variable?
* If YES, then set the PATH variable to the ROMFS mountpoint.
*/
setenv("PATH", MOUNTPT, 1);