Re: setting environment variables from a bash script

2005-05-21 Thread Brian Dessent
Aaron Gray wrote: > How do I do that ? "source the script" ? "source ./gcc-3.4.3" or ". ./gcc-3.4.3". "man bash" section SHELL BUILTIN COMMANDS. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: setting environment variables from a bash script

2005-05-21 Thread Aaron Gray
Is it possible to set an environment variable using a bash script and for that variable to be able to be seen within bash once the script is finnished. It's impossible for a child process to modify the environment of its parent. By executing the file as a script you spawn a shell subprocess, me

Re: setting environment variables from a bash script

2005-05-21 Thread Brian Dessent
Aaron Gray wrote: > Is it possible to set an environment variable using a bash script and for > that variable to be able to be seen within bash once the script is > finnished. It's impossible for a child process to modify the environment of its parent. By executing the file as a script you spawn