diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-12 20:28:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-12 20:28:20 +0000 |
commit | c4c2e523c8c347f89b6d5d079737d403ff80dc63 (patch) | |
tree | cd78407dd685d49ca9cf4b1877fbb420b8413dad /Master/texmf-dist/scripts/l3build/l3build-file-functions.lua | |
parent | 461f4e2e3a8df032fcb51bdd059229e480892593 (diff) |
l3 (12mar20)
git-svn-id: svn://tug.org/texlive/trunk@54259 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, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua b/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua index e3000b45efb..6c420f80a26 100644 --- a/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua +++ b/Master/texmf-dist/scripts/l3build/l3build-file-functions.lua @@ -204,7 +204,7 @@ function cleandir(dir) if errorlevel ~= 0 then return errorlevel end - return rm(dir, "*") + return rm(dir, "**") end -- Copy files 'quietly' @@ -376,7 +376,7 @@ end -- Remove file(s) based on a glob function rm(source, glob) - for _,i in ipairs(filelist(source, glob)) do + for i,_ in pairs(tree(source, glob)) do rmfile(source,i) end -- os.remove doesn't give a sensible errorlevel |