summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3build/l3build.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3build/l3build.lua')
-rw-r--r--Master/texmf-dist/tex/latex/l3build/l3build.lua10
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/l3build/l3build.lua b/Master/texmf-dist/tex/latex/l3build/l3build.lua
index 7238c9a2167..a3f6a1662c6 100644
--- a/Master/texmf-dist/tex/latex/l3build/l3build.lua
+++ b/Master/texmf-dist/tex/latex/l3build/l3build.lua
@@ -1511,8 +1511,10 @@ function ctan(standalone)
end
if errorlevel == 0 then
for _,i in ipairs(textfiles) do
- cp(i, ".", ctandir .. "/" .. ctanpkg)
- cp(i, ".", tdsdir .. "/doc/" .. tdsroot .. "/" .. bundle)
+ for _,j in pairs({unpackdir, "."}) do
+ cp(i, j, ctandir .. "/" .. ctanpkg)
+ cp(i, j, tdsdir .. "/doc/" .. tdsroot .. "/" .. bundle)
+ end
end
dirzip(tdsdir, ctanpkg .. ".tds")
if packtdszip then
@@ -1676,7 +1678,7 @@ if versionform ~= "" and not setversion_update_line then
for _,i in pairs({"Class", "File", "Package"}) do
if string.match(
line,
- "^\\Provides" .. i .. "{[a-zA-Z0-9%-]+}%[[^%]]*%]$"
+ "^\\Provides" .. i .. "{[a-zA-Z0-9%-%.]+}%[[^%]]*%]$"
) then
line = string.gsub(line, "%[%d%d%d%d/%d%d/%d%d", "["
.. string.gsub(date, "%-", "/"))
@@ -1695,7 +1697,7 @@ if versionform ~= "" and not setversion_update_line then
for _,i in pairs({"Class", "File", "Package"}) do
if string.match(
line,
- "^\\ProvidesExpl" .. i .. " *{[a-zA-Z0-9%-]+}"
+ "^\\ProvidesExpl" .. i .. " *{[a-zA-Z0-9%-%.]+}"
) then
line = string.gsub(
line,