git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15384 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
daa8afb1df
commit
ce119aef13
|
@ -216,11 +216,11 @@ static bool shell_execute(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
static char pathbuf[1024];
|
static char pathbuf[1024];
|
||||||
char *p, *paths;
|
char *p;
|
||||||
|
|
||||||
paths = getenv("PATH");
|
p = getenv("PATH");
|
||||||
if (paths == NULL) {
|
if (p == NULL) {
|
||||||
paths = SHELL_DEFAULT_PATH;
|
p = SHELL_DEFAULT_PATH;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Searching for executable.*/
|
/* Searching for executable.*/
|
||||||
|
|
Loading…
Reference in New Issue