change environment variable via script
Alex Dean
alex at crackpot.org
Fri Dec 23 09:40:27 MST 2005
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
.
More information about the PLUG-discuss
mailing list