[tex-k] epstopdf not usable in Git Bash for Windows
John Collins
jcc8 at psu.edu
Tue Apr 2 22:38:27 CEST 2024
On 4/1/24 5:26 PM, Karl Berry wrote:
> Hi Pablo,
>
> In simple terms, `cygwin` and `Git-bash` (msys) should be treated in
> the same way using ":" as a separator in the PATH.
>
> Are you sure? I would have surmised that I was previously advised not do
> this for msys, because of the current $on_windows regexp you found.
>
> What if people are using msys without "git bash"? Is that possible? Does
> it make sense? And per Siep's message, it seems all of these things can
> be configured in different ways. We don't want to fix one group of users
> and break another.
Unambiguously, the path separator for msys is ':'. Epstopdf's test for msys is
just from the value of the Perl variable $^O. When the perl interpreter is the
msys one, perl sets $^O to 'msys' and it uses ':' for the path separator. When
the perl interpreter is a native Windows one, it sets $^O to 'MSWin32', and the
path separator is ';'.
That's independent of whether the perl in question is invoked from cmd.exe or
from msys's bash. (I've tried it all 4 ways.)
John Collins
More information about the tex-k
mailing list.