[latex3-commits] [git/LaTeX3-latex3-l3build] master: Wrong argument to pairs() (4bf51fe)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Sep 23 20:24:49 CEST 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/4bf51fe165a6cc79b8d61c419b38cdaab7f6da60

>---------------------------------------------------------------

commit 4bf51fe165a6cc79b8d61c419b38cdaab7f6da60
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Sep 23 19:24:49 2018 +0100

    Wrong argument to pairs()


>---------------------------------------------------------------

4bf51fe165a6cc79b8d61c419b38cdaab7f6da60
 l3build-ctan.lua |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build-ctan.lua b/l3build-ctan.lua
index f0ff815..20205e2 100644
--- a/l3build-ctan.lua
+++ b/l3build-ctan.lua
@@ -134,7 +134,7 @@ function ctan()
     end
     -- Rename README if necessary
     if ctanreadme ~= "" and not match(lower(ctanreadme),"^readme%.%w+") then
-      for dir in pairs({ctandir .. "/" .. ctanpkg,
+      for _,dir in pairs({ctandir .. "/" .. ctanpkg,
         tdsdir .. "/doc/" .. tdsroot .. "/" .. bundle}) do
         if fileexists(dir .. "/" .. ctanreadme) then
           ren(dir,ctanreadme,"README." .. match(ctanreadme,"%.(%w+)$"))





More information about the latex3-commits mailing list