On 2007-09-06, asherwolf wrote: > > On 2007-09-06, asherwolf wrote: >> >> I have the following in my root ~/.bash_profile: >> >> PATH=$PATH:$HOME/bin >> ..... >> PKG_CONFIG_PATH is there, but not LD_LIBRARY_PATH (which makes some of my >> programs not cooperate) > >>>Are you using "su" or "su -"? > > I'm using just su... should I use "su -" ?
If you use "su -", it does the equivalent of logging in, and thus reads .bash_profile; "su" by itself doesn't. -- Chris F.A. Johnson <http://cfaj.freeshell.org> =================================================================== Author: Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress) .