add a note about the default $PATH
This commit is contained in:
parent
a207b0eda5
commit
1ac25b72dc
10
main.c
10
main.c
@ -13,7 +13,7 @@
|
|||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.69 2007/02/10 21:59:15 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.70 2007/02/13 13:36:18 tg Exp $");
|
||||||
|
|
||||||
extern char **environ;
|
extern char **environ;
|
||||||
|
|
||||||
@ -142,6 +142,14 @@ main(int argc, char *argv[])
|
|||||||
def_path = cp;
|
def_path = cp;
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
/*
|
||||||
|
* this is uniform across all OSes unless it
|
||||||
|
* breaks somewhere; don't try to optimise,
|
||||||
|
* e.g. add stuff for Interix or remove /usr
|
||||||
|
* for HURD, because e.g. Debian GNU/HURD is
|
||||||
|
* "keeping a regular /usr"; this is supposed
|
||||||
|
* to be a sane 'basic' default PATH
|
||||||
|
*/
|
||||||
def_path = "/bin:/usr/bin:/sbin:/usr/sbin";
|
def_path = "/bin:/usr/bin:/sbin:/usr/sbin";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user