[vox-tech] Bash script to setup environment variables

Mark K. Kim vox-tech@lists.lugod.org
Fri, 28 Dec 2001 19:01:54 -0800 (PST)


Duh... :P

Thanks!

-Mark

On Fri, 28 Dec 2001, Jeff Newmiller wrote:

> On Thu, 27 Dec 2001, Mark K. Kim wrote:
>
> > Keywords: bash, script, environment variables
> >
> > Hello folks...
> >
> > I'm doing some cross-compilation work so I need to flip environment
> > variables on/off in a heartbeat.  I tried to write a script, but scripts
> > run on sub-processes so the changes do not take effect on the parent
> > process.  Is there a way, without having to type `source script` or `.
> > script`, to make environment variables changes take place on the running
> > process?
>
> Use an alias to invoke the inconvenient-to-type command?
>
> ---------------------------------------------------------------------------
> Jeff Newmiller                        The     .....       .....  Go Live...
> DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
>                                       Live:   OO#.. Dead: OO#..  Playing
> Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
> /Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k
> ---------------------------------------------------------------------------
>
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>

--
Mark K. Kim
http://www.cbreak.org/mark/
PGP key available upon request.