Mail Archives: djgpp/1999/02/08/22:45:59
According to Eli Zaretskii:
>
> On 6 Feb 1999, Martin Str|mberg wrote:
>
> > Ok. I know what is causing the problem. My environment variable SHELL
> > is set to "f:/djgpp/bin/-bash.exe".
>
> Why would you need that? AFAIK, -bash is only needed in interactive
> invocation, to make it a login shell, but should never be necessary
> (and could be even dangerous) after that.
>
> > This -bash.exe created I with "ln
> > -s -- bash -bash", hence the problem (I suppose) is make crashes if
> > SHELL is set to a DJGPP symbolic link while building tar.
>
> Did you try to actually copy bash.exe into -bash.exe, and see if that
> prevents Make from crashing? I don't recollect any special treatment
> of symlinks in Make, so I'd rather suspect Bash being invoked as a
> login shell when it shouldn't be.
Nope, but now I have. It seems that if either of two cases we'll have a
crash:
1. name starts with a "-".
2. a symlink (DJGPP kind)
1. can perhaps be explained as some .bash_login thing (although I
haven't got any such file)
2. can't be explained that easily.
Right,
MartinS
- Raw text -