akhiezer wrote:

On svn blfs page:

   http://www.linuxfromscratch.org/blfs/view/svn/postlfs/profile.html

, in section '/etc/profile.d/extrapaths.sh' there is:

   pathprepend ~/bin

, and in section '~/.bash_profile' there is:

   append $HOME/bin

Also, that 'append()' function in '~/.bash_profile' looks like it would
prefix a ':' if starting PATH was either empty or equal to the dir that
one is trying to append.

The very first variable set in /etc/profile is

export PATH=/bin:/usr/bin

So if you are following the book, PATH will always be set.  FBBG.

Yes, that construct is bash specific.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to