mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add /sbin to PATH.
This commit is contained in:
parent
a5eacdbdcc
commit
c7165cdcb4
2 changed files with 2 additions and 1 deletions
1
Makefile
1
Makefile
|
@ -134,6 +134,7 @@ sysroot-fsh:
|
|||
mkdir -p "$(SYSROOT)/lib"
|
||||
mkdir -p "$(SYSROOT)/libexec"
|
||||
mkdir -p "$(SYSROOT)/mnt"
|
||||
mkdir -p "$(SYSROOT)/sbin"
|
||||
mkdir -p "$(SYSROOT)/share"
|
||||
mkdir -p "$(SYSROOT)/src"
|
||||
mkdir -p "$(SYSROOT)/tmp"
|
||||
|
|
|
@ -482,7 +482,7 @@ int init_main(int argc, char* argv[])
|
|||
umask(022);
|
||||
|
||||
// Set up the PATH variable.
|
||||
setenv("PATH", "/bin", 1);
|
||||
setenv("PATH", "/bin:/sbin", 1);
|
||||
|
||||
// Set the terminal type.
|
||||
setenv("TERM", "sortix", 1);
|
||||
|
|
Loading…
Reference in a new issue