[vox-tech] Bash script to setup environment variables
Mark K. Kim
vox-tech@lists.lugod.org
Thu, 27 Dec 2001 23:12:35 -0800 (PST)
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?
Thanks in adv!
-Mark
--
Mark K. Kim
http://www.cbreak.org/mark/
PGP key available upon request.