Philippe Delavalade wrote:
> Hi.
>
> I'm building svn-9812 ; my host is debian/wheezy ; I encounter for the
> first time a little problem in 4.4.
>
> When becoming user lfs and after having passed the command
>
> source .bash_profile
>
> I don't obtain the right prompt ; all variables are correct except PS1
> which is
>
> PS1=${debian_chroot:+($debian_chroot)}\u@\h:\w\$
>
> Maybe it's not important (and I think so) but nevertheless, I fear that
> this uncorrect value can hide other problems...
Lets see what you have for ~/.bashrc and ~/.bash_profile
~/.bash_profile should be one line:
exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash
The -i starts with an empty envronment and then sets PS1 when running a new
instance of bash.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page