1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2015-02-15 12:54:44 +01:00
parent a5eacdbdcc
commit c7165cdcb4
2 changed files with 2 additions and 1 deletions

View file

@ -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"

View file

@ -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);