texlive[59047] Master/bin/win32/runscript.tlu: support non-ascii user

commits+kakuto at tug.org commits+kakuto at tug.org
Sun May 2 06:05:50 CEST 2021


Revision: 59047
          http://tug.org/svn/texlive?view=revision&revision=59047
Author:   kakuto
Date:     2021-05-02 06:05:49 +0200 (Sun, 02 May 2021)
Log Message:
-----------
support non-ascii user name for dviout

Modified Paths:
--------------
    trunk/Master/bin/win32/runscript.tlu

Modified: trunk/Master/bin/win32/runscript.tlu
===================================================================
--- trunk/Master/bin/win32/runscript.tlu	2021-05-01 23:50:07 UTC (rev 59046)
+++ trunk/Master/bin/win32/runscript.tlu	2021-05-02 04:05:49 UTC (rev 59047)
@@ -786,7 +786,7 @@
   end
 elseif progname == 'dviout' then
   local fontsdir = kpse.var_value('TEXMFVAR') .. '/fonts'
-  if (lfs.attributes(fontsdir, 'mode') ~= 'directory') then 
+  if (lfs.attributes(chgstrcp.syscptoutf8(fontsdir), 'mode') ~= 'directory') then 
     assert(mkdir_plus(fontsdir))
   end
   local tfmpath = kpse.show_path('tfm')



More information about the tex-live-commits mailing list.