Moved definitions of the USER and GROUP environmental variables from
SetupEnvironment to /etc/profile and use the "id" command. No need to set SHELL, since the shell sets it anyway. Fixes #5966. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36788 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1e9e9da389
commit
e4a4fcc9fb
@ -5,6 +5,9 @@
|
||||
|
||||
echo -e "\nWelcome to the Haiku shell.\n"
|
||||
|
||||
export USER=`id -un`
|
||||
export GROUP=`id -gn`
|
||||
|
||||
if [ -z $BE_HOST_CPU ]; then
|
||||
. /boot/system/boot/SetupEnvironment
|
||||
fi
|
||||
|
@ -4,9 +4,6 @@
|
||||
#
|
||||
|
||||
export HOME=/boot/home
|
||||
export SHELL=/bin/sh
|
||||
export USER=baron
|
||||
export GROUP=users
|
||||
|
||||
BUILDHOME=/boot/develop
|
||||
BETOOLS="$BUILDHOME/tools/gnupro/bin"
|
||||
|
Loading…
x
Reference in New Issue
Block a user