projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
include busybox after libc includes
[oweals/busybox.git]
/
shell
/
msh.c
diff --git
a/shell/msh.c
b/shell/msh.c
index a2f98c837207bed9167764c7ddae767e62ea885b..1485ccb6fd426fc779fd4fe6754350096c2ec7cb 100644
(file)
--- a/
shell/msh.c
+++ b/
shell/msh.c
@@
-842,6
+842,8
@@
extern int msh_main(int argc, char **argv)
#endif
}
onecommand();
+ /* Ensure that getenv("PATH") stays current */
+ setenv("PATH", path->value, 1);
}
}