[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $PATH from GNUstep.sh
From: |
Richard |
Subject: |
Re: $PATH from GNUstep.sh |
Date: |
Thu, 01 Mar 2001 06:44:04 +0000 |
David Relson wrote:
> This indicates that my login script, i.e. .bashrc and the scripts it calls,
> are being invoked 6 times. I've corrected this behavior by modifying
> GNUstep.sh to test whether it's being run for the first time or a second
> time. I'm using environment variable GNUSTEP_ROOT for the test.
I typically work as one user, and use the su command frequently to become
either root or other users. Your patch would break the behavior I rely on ..
that re-running GNUstep.sh will set up my environment for the user I'm
currently su'ed as.
I therefore applied a different fix ... when about to add stuff to the path,
check to see if it's already present. I think it should solve your problem.
- Re: $PATH from GNUstep.sh,
Richard <=