diff options
author | Karl Berry <karl@freefriends.org> | 2023-11-01 20:13:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-11-01 20:13:49 +0000 |
commit | a776d572cfd8fa24365dbc0cc22bbd856fbbe97b (patch) | |
tree | 849f92803a749fc1bc8aecd7ba910bd723ec4095 /Master/texmf-dist/scripts/l3build | |
parent | d090e61f0bea55cb371aeb790140dbcb6c5d7d36 (diff) |
latex2e (1nov23)
git-svn-id: svn://tug.org/texlive/trunk@68720 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/l3build')
-rw-r--r-- | Master/texmf-dist/scripts/l3build/l3build-file-functions.lua | 8 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/l3build/l3build.lua | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua b/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua index d6ec0cd5139..847a1d15e67 100644 --- a/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua +++ b/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua @@ -153,9 +153,15 @@ if os_type == "windows" then os_yes = "for /l %I in (1,1,300) do @echo y" end +-- Deal with codepage hell on Windows +local function fixname(f) return f end +if chgstrcp then + fixname = chgstrcp.utf8tosyscp +end + -- Deal with the fact that Windows and Unix use different path separators local function unix_to_win(path) - return gsub(path, "/", "\\") + return fixname(gsub(path, "/", "\\")) end function normalize_path(path) diff --git a/Master/texmf-dist/scripts/l3build/l3build.lua b/Master/texmf-dist/scripts/l3build/l3build.lua index e520cd18110..cf8f66cc1fb 100755 --- a/Master/texmf-dist/scripts/l3build/l3build.lua +++ b/Master/texmf-dist/scripts/l3build/l3build.lua @@ -25,7 +25,7 @@ for those people who are interested. --]] -- Version information -release_date = "2023-09-13" +release_date = "2023-11-01" -- File operations are aided by the LuaFileSystem module local lfs = require("lfs") |