diff options
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 faf54a9f3cf..f2a75cf4999 100755 --- a/Master/bin/win32/runscript.tlu +++ b/Master/bin/win32/runscript.tlu @@ -408,7 +408,7 @@ end -- creates directory or directory hierarchy local function mkdir_plus(dir) - if lfs.mkdir(dir) then + if lfs.mkdir(chgstrcp.syscptoutf8(dir)) then return true end -- try with system's mkdir in case we need to create intermediate dirs too @@ -825,7 +825,7 @@ elseif progname == 'texworks' then os.setenv('TW_INIPATH', TW_INIPATH) if (TW_INIPATH and lfs.attributes(chgstrcp.syscptoutf8(TW_INIPATH), 'mode') ~= 'directory') then -- TeXworks needs directory holding its configuration to exist - assert(mkdir_plus(chgstrcp.syscptoutf8(TW_INIPATH))) + assert(mkdir_plus(TW_INIPATH)) end ARGV = {[0]=TEXDIR..'/tlpkg/texworks/texworks.exe', 'texworks'} elseif progname == 'tlgs' then |