environment: include /usr/sbin and /sbin in systemPath
Don't extend initial PATH adding extra entries should be done through appending environment.systemPath or manually extending it with environment.extraInit or similar options.
This commit is contained in:
parent
c8ce901a43
commit
1b6f56f5b8
5 changed files with 8 additions and 7 deletions
|
|
@ -63,7 +63,7 @@ in
|
|||
if [ -n "$__ETC_BASHRC_SOURCED" -o -n "$NOSYSBASHRC" ]; then return; fi
|
||||
__ETC_BASHRC_SOURCED=1
|
||||
|
||||
export PATH=${config.environment.systemPath}''${PATH:+:$PATH}
|
||||
export PATH=${config.environment.systemPath}
|
||||
${config.system.build.setEnvironment}
|
||||
${config.system.build.setAliases}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue