texlive[59018] Master/bin/win32/runscript.tlu: support non-ascii
commits+kakuto at tug.org
commits+kakuto at tug.org
Thu Apr 29 01:10:55 CEST 2021
Revision: 59018
http://tug.org/svn/texlive?view=revision&revision=59018
Author: kakuto
Date: 2021-04-29 01:10:55 +0200 (Thu, 29 Apr 2021)
Log Message:
-----------
support non-ascii username for TeXworks (w32 only)
Modified Paths:
--------------
trunk/Master/bin/win32/runscript.tlu
Modified: trunk/Master/bin/win32/runscript.tlu
===================================================================
--- trunk/Master/bin/win32/runscript.tlu 2021-04-28 21:34:20 UTC (rev 59017)
+++ trunk/Master/bin/win32/runscript.tlu 2021-04-28 23:10:55 UTC (rev 59018)
@@ -823,9 +823,9 @@
local TW_INIPATH = kpse.var_value('TW_INIPATH') or TW_LIBPATH
os.setenv('TW_LIBPATH', TW_LIBPATH)
os.setenv('TW_INIPATH', TW_INIPATH)
- if (TW_INIPATH and lfs.attributes(TW_INIPATH, 'mode') ~= 'directory') then
+ if (TW_INIPATH and lfs.attributes(chgstrcp.syscptoutf8(TW_INIPATH), 'mode') ~= 'directory') then
-- TeXworks needs directory holding its configuration to exist
- assert(mkdir_plus(TW_INIPATH))
+ assert(mkdir_plus(chgstrcp.syscptoutf8(TW_INIPATH)))
end
ARGV = {[0]=TEXDIR..'/tlpkg/texworks/texworks.exe', 'texworks'}
elseif progname == 'tlgs' then
More information about the tex-live-commits
mailing list.