[latex3-commits] [git/LaTeX3-latex3-l3build] master: Too many locals removed (50e8d3a)
LAURENS Jérôme
jerome.laurens at u-bourgogne.fr
Tue Feb 23 22:53:39 CET 2021
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/50e8d3a2a4400328af6f45714b58ed473692d6ee
>---------------------------------------------------------------
commit 50e8d3a2a4400328af6f45714b58ed473692d6ee
Author: LAURENS Jérôme <jerome.laurens at u-bourgogne.fr>
Date: Tue Feb 23 22:53:39 2021 +0100
Too many locals removed
>---------------------------------------------------------------
50e8d3a2a4400328af6f45714b58ed473692d6ee
l3build-file-functions.lua | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/l3build-file-functions.lua b/l3build-file-functions.lua
index 48c2745..7c064a0 100644
--- a/l3build-file-functions.lua
+++ b/l3build-file-functions.lua
@@ -312,13 +312,13 @@ function tree(src_path, glob)
--- at param table table
local function fill(p_src, p_cwd, table)
for _, file in ipairs(filelist(p_cwd, glob_part)) do
- p_src = p_src .. "/" .. file
+ local p_src_file = p_src .. "/" .. file
if file ~= "." and file ~= ".." and
- p_src ~= builddir -- TODO: ensure that `builddir` is properly formatted
+ p_src_file ~= builddir -- TODO: ensure that `builddir` is properly formatted
then
- p_cwd = p_cwd .. "/" .. file
- if accept(p_cwd) then
- table[p_src] = p_cwd
+ local p_cwd_file = p_cwd .. "/" .. file
+ if accept(p_cwd_file) then
+ table[p_src_file] = p_cwd_file
end
end
end
More information about the latex3-commits
mailing list.