cl at isbd.net
Wed May 21 15:30:44 UTC 2008
On Wed, May 21, 2008 at 04:26:26PM +0100, Bill Crawford wrote:
> 2008/5/21 Sieranski, Greg <greg.sieranski at quoininc.com>:
> > [~] $ grep -F opt/hg /etc/profile.d/*
> > [~] $
> > Produces no results.
> I'm afraid I'm a little stumped at this point, then. Unless you're
> somehow running the .bash_profile twice, or you're doing tests in an
> environment where it's already been set (are you trying this in an
> xterm window? is the path already set on entry to .bash_profile?)
Yes, remember that an xterm (or other terminal) window on an X desktop
will inherit the user's login environment. You have to exit back to
gdm (or whatever) to get rid of eveything.
It might be better to use a console login for testing what's really
going on (via CTRL/ALT Fn).
More information about the users