bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in texi2dvi, on Windows/Msys2 it cannot find tex


From: Gavin Smith
Subject: Re: bug in texi2dvi, on Windows/Msys2 it cannot find tex
Date: Fri, 8 Apr 2022 21:03:13 +0100

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.kalibera@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

[Prev in Thread] Current Thread [Next in Thread]