Mail Archives: djgpp/2002/07/12/23:45:24
"Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk> wrote in message
news:3D2F5A9A DOT 61162235 AT phekda DOT freeserve DOT co DOT uk...
> "When bash is started non-interactively, to run a shell
> script, for example, it looks for the variable BASH_ENV in
> the environment, expands its value if it appears there,
> and uses the expanded value as the name of a file to read
> and execute. Bash behaves as if the following command
> were executed:
> if [ -n "$BASH_ENV" ]; then . "$BASH_ENV"; fi
> but the value of the PATH variable is not used to search
> for the file name."
I did read that.
So what I understood from that is that I should define %BASH_ENV% like
%DJGPP% in the DOS environment. That is what what I think I have been trying
to do. What could be wrong with:
set BASH_ENV=D:\user\DJGPP\etc\profile
...when D:\user\DJGPP\etc\profile is exactly the same file sas the
%HOME%\_bashrc, which works for me? Maybe I misunderstood the man page?
Ben
- Raw text -