diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3build/l3build-ctan.lua')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3build/l3build-ctan.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/l3build/l3build-ctan.lua b/Master/texmf-dist/tex/latex/l3build/l3build-ctan.lua index ed29399a2d3..da2e9777df8 100644 --- a/Master/texmf-dist/tex/latex/l3build/l3build-ctan.lua +++ b/Master/texmf-dist/tex/latex/l3build/l3build-ctan.lua @@ -35,9 +35,10 @@ function copyctan() end else for _,filetype in pairs(files) do - for _,file in pairs(tree(source,filetype)) do - local path,file = splitpath(file) - local ctantarget = ctandir .. "/" .. ctanpkg .. "/" .. path + for file,_ in pairs(tree(source,filetype)) do + local path = splitpath(file) + local ctantarget = ctandir .. "/" .. ctanpkg .. "/" + .. source .. "/" .. path mkdir(ctantarget) cp(file,source,ctantarget) end |