[latex3-commits] [git/l3build] master: Use some local copies (079e7a4)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Jan 21 21:34:38 CET 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/079e7a4ba52cf86ba5bdf66c73694a8dba754f64

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

commit 079e7a4ba52cf86ba5bdf66c73694a8dba754f64
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Jan 21 20:34:38 2018 +0000

    Use some local copies


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

079e7a4ba52cf86ba5bdf66c73694a8dba754f64
 l3build-install.lua |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/l3build-install.lua b/l3build-install.lua
index d3579ee..5fea175 100644
--- a/l3build-install.lua
+++ b/l3build-install.lua
@@ -22,6 +22,9 @@ for those people who are interested.
 
 --]]
 
+local pairs = pairs
+local print = print
+
 local set_program = kpse.set_program_name
 local var_value   = kpse.var_value
 
@@ -61,7 +64,7 @@ function install()
     print("\n" .. "Installation root: " .. installdir
       .. "\n" .. "Installation files:"
     )
-    for _,filetype in ipairs(installfiles) do
+    for _,filetype in pairs(installfiles) do
       for _,file in pairs(filelist(unpackdir,filetype)) do
         print("- " .. file)
       end
@@ -72,7 +75,7 @@ function install()
     if errorlevel ~= 0 then
       return errorlevel
     end
-    for _,filetype in ipairs(installfiles) do
+    for _,filetype in pairs(installfiles) do
       errorlevel = cp(filetype, unpackdir, installdir)
       if errorlevel ~= 0 then
         return errorlevel





More information about the latex3-commits mailing list