From ac63a2f23bb0ad502b2354135d3b1a2ea65ca3a7 Mon Sep 17 00:00:00 2001 From: Joseph Wright Date: Thu, 24 Oct 2024 14:20:23 +0100 Subject: [PATCH] Mumble --- l3build-ctan.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l3build-ctan.lua b/l3build-ctan.lua index 5b1d1c4..df0ad95 100644 --- a/l3build-ctan.lua +++ b/l3build-ctan.lua @@ -148,7 +148,7 @@ function ctan() end end -- Rename README if necessary - if ctanreadme ~= "" and not match(lower(ctanreadme),"^readme$") + if ctanreadme ~= "" and not match(lower(ctanreadme),"^readme$") and not match(lower(ctanreadme),"^readme%.%w+") then local newfile = "README." .. match(ctanreadme,"%.(%w+)$") for _,dir in pairs({ctandir .. "/" .. ctanpkg,