diff options
author | Karl Berry <karl@freefriends.org> | 2018-05-06 21:43:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-05-06 21:43:48 +0000 |
commit | 29c6fa1753bcd3f219f1b63db4b31be72f9f6824 (patch) | |
tree | c4efc0b30238a68fc5e18df5273d1de618b02003 /Master/texmf-dist/scripts/l3build/l3build-file-functions.lua | |
parent | fb14462cfe35d61f907e883323450f54025fd11e (diff) |
l3build (6may18)
git-svn-id: svn://tug.org/texlive/trunk@47629 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/l3build/l3build-file-functions.lua')
-rw-r--r-- | Master/texmf-dist/scripts/l3build/l3build-file-functions.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua b/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua index a8c24356353..83b4bfb6539 100644 --- a/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua +++ b/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua @@ -283,9 +283,7 @@ function tree(path, glob) for _, file in ipairs(filelist(dir, pattern)) do local fullpath = path .. "/" .. file if file ~= "." and file ~= ".." and - fullpath ~= builddir and - (sub(pattern, 1, 1) == "." - or sub(file, 1, 1) ~= ".") + fullpath ~= builddir then local fulldir = dir .. "/" .. file if criterion(fulldir) then |