has the search path during format creation been changed?

Akira Kakuto kakuto at w32tex.org
Tue Apr 6 08:20:36 CEST 2021


Hi Norbert,

On 2021/04/06 13:07, Akira Kakuto wrote:
> It is really strange that ...

I think that I found a solution.
See an attached fmtutil.pl.diff.
By applying the patch, I have

pdflatex test
gives

windows
True

for fmtutil-sys --byfmt pdflatex

Thanks,
Akira
-------------- next part --------------
--- fmtutil.pl.orig	Tue Apr 06 15:06:22 2021
+++ fmtutil.pl	Tue Apr 06 15:11:17 2021
@@ -379,7 +379,7 @@
 
   # code taken over from the original shell script for KPSE_DOT etc
   my $thisdir = cwd();
-  $ENV{'KPSE_DOT'} = $thisdir;
+  $ENV{'KPSE_DOT'} = "$thisdir$sep.";
 
   # due to KPSE_DOT, we don't search the current directory, so include
   # it explicitly for formats that \write and later on \read


More information about the tex-live mailing list.