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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user