From: Paul G. <pgarceau@at...> - 2002-06-11 00:44:06
On 10 Jun 2002 at 9:54, Luke Dunstan wrote:
> The reason for the environment variable not being defined after the shell
> script has finished is the same reason why the variable is no longer defined
> after you exit and restart the MSYS shell. The shell script runs as a child
> process, so any changes in its environment are not reflected in the parent
> process, and this is the same as the "call" command in Windows command
> prompt. To run a shell script without a separate subprocess, use the "."
> . msys_prep.sh
> Note the space after the ".".
From: Paul G. <pgarceau@at...> - 2002-06-12 01:30:16
On 11 Jun 2002 at 9:51, The African Chief wrote:
> Luke Dunstan wrote:
> >To run a shell script without a separate subprocess, use the "."
> >. msys_prep.sh
> And, if you want to make the environment variable persistent, define
> it in your /etc/profile file.
Get latest updates about Open Source Projects, Conferences and News.