discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $PATH from GNUstep.sh


From: David Relson
Subject: Re: $PATH from GNUstep.sh
Date: Thu, 01 Mar 2001 08:28:28 -0500

At 01:44 AM 3/1/01, Richard wrote:
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.

Richard,

As they say, "There's more than one way to skin a cat". Your way sounds perfectly good. For sure, it's more comprehensive than my simple fix.

Good job!

David


--------------------------------------------------------
David Relson                   Osage Software Systems, Inc.
address@hidden       Ann Arbor, MI 48103
www.osagesoftware.com          tel:  734.821.8800




reply via email to

[Prev in Thread] Current Thread [Next in Thread]