Re: change environment variable via script

Páxina inicial
Anexos:
Mensaxe orixinal
+ (text/plain)
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Darrin Chandler
Data:  
Para: Main PLUG discussion list
Asunto: Re: change environment variable via script
Alex Dean wrote:

> 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!



Didn't actually look closely at your script. Oops. Glad you found the
answer without me!

--
Darrin Chandler

http://www.stilyagin.com/

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