Re: change environment variable via script

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Alex Dean
Date:  
To: Main PLUG discussion list
Subject: Re: change environment variable via script
On Dec 23, 2005, at 9:21 AM, Darrin Chandler wrote:
> export CVSROOT
>
> Each shell gets a copy of the environment. Mods are local by
> default. Think about it a moment and you'll see why it must be that
> way.


The script already did 'export CVSROOT', with no effect.


On Dec 23, 2005, at 9:17 AM, Scott wrote:

> The script itself is a shell session, so as soon as it ends, all
> information contained within would be eliminated and not carried
> over to your current environment. A solution is to functionalize
> the script, like this:


That did it, thanks!

alex
.



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss