On Fri, Apr 08, 2022 at 10:50:19PM +0300, Eli Zaretskii wrote:
> > Date: Fri, 8 Apr 2022 15:53:31 +0200
> > From: Tomas Kalibera <tomas.kalib...@gmail.com>
> > 
> > Would this be an acceptable fix? (turn OSTYPE to uppercase when setting 
> > MSYSTEM)
> > 
> >     MSYSTEM=$(echo $OSTYPE | tr [a-z] [A-Z]) uname | $EGREP -iv 
> > 'cygwin|msys' >/dev/null; then
> > 
> > It was suggested by Markus Mützel in a downstream discussion (Msys2) and 
> > it works for me in Msys2, cygwin and the installation I described which 
> > I believe is what MSYSTEM refers to in texi2dvi source (but I am not 
> > sure). On all these systems, the path separator needs to be ":".
> 
> But the part after "then" above in the script says
> 
>   path_sep=";"
> 
> which is inappropriate for MSYS/MSYS2 and Cygwin.  So you need to
> reverse the condition?

I believe the sense of the condition is correct due to the -v flag
being passed to grep.

Reply via email to