diff options
author | Norbert Preining <norbert@preining.info> | 2024-02-29 03:02:00 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-02-29 03:02:00 +0000 |
commit | cd2d035c39e23ef720cdd58ad3e377f7c60e9858 (patch) | |
tree | ca7f11c779775df04a7709bdd75d46d53b380f2e /macros/luatex/generic/luaotfload/fontloader-basics-gen.lua | |
parent | 0afdc3e8c2d8e96d0cd0a5f05f1481a4eecc51d2 (diff) |
CTAN sync 202402290301
Diffstat (limited to 'macros/luatex/generic/luaotfload/fontloader-basics-gen.lua')
-rw-r--r-- | macros/luatex/generic/luaotfload/fontloader-basics-gen.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macros/luatex/generic/luaotfload/fontloader-basics-gen.lua b/macros/luatex/generic/luaotfload/fontloader-basics-gen.lua index 5a6e90ceee..c79c31392b 100644 --- a/macros/luatex/generic/luaotfload/fontloader-basics-gen.lua +++ b/macros/luatex/generic/luaotfload/fontloader-basics-gen.lua @@ -19,6 +19,7 @@ local formatters, split, format, dump = string.formatters, string.split, string. local loadfile, type = loadfile, type local setmetatable, getmetatable, collectgarbage = setmetatable, getmetatable, collectgarbage local floor = math.floor +local mkdirp = lfs.mkdirp or lfs.mkdirs local dummyfunction = function() end @@ -231,7 +232,7 @@ do for i=1,#cachepaths do local cachepath = cachepaths[i] if not lfs.isdir(cachepath) then - lfs.mkdirs(cachepath) -- needed for texlive and latex + mkdirp(cachepath .. '/') -- needed for texlive and latex if lfs.isdir(cachepath) then logs.report("system","creating cache path '%s'",cachepath) end |