diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2021-04-28 23:10:55 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2021-04-28 23:10:55 +0000 |
commit | 01363cc9878d23fedc174cc287f0bf8313b65e13 (patch) | |
tree | 1c8f648a80a1a4df556e19a336687af9e36409b2 /Master/bin/win32 | |
parent | d363abeb0d3e1532866a889925366bf8f2e3be8d (diff) |
support non-ascii username for TeXworks (w32 only)
git-svn-id: svn://tug.org/texlive/trunk@59018 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/win32')
-rwxr-xr-x | Master/bin/win32/runscript.tlu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/bin/win32/runscript.tlu b/Master/bin/win32/runscript.tlu index 8037edb7fea..faf54a9f3cf 100755 --- a/Master/bin/win32/runscript.tlu +++ b/Master/bin/win32/runscript.tlu @@ -823,9 +823,9 @@ elseif progname == 'texworks' then 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 |