summaryrefslogtreecommitdiff
path: root/tex/context/base/data-res.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/data-res.lua')
-rw-r--r--tex/context/base/data-res.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/tex/context/base/data-res.lua b/tex/context/base/data-res.lua
index 0e87aeb78..f0b7a96cb 100644
--- a/tex/context/base/data-res.lua
+++ b/tex/context/base/data-res.lua
@@ -1653,13 +1653,11 @@ function resolvers.dowithfilesintree(pattern,handle,before,after) -- will move,
local files = instance.files[blobpath]
local total, checked, done = 0, 0, 0
if files then
- for k,v in next, files do
+ for k, v in table.sortedhash(files) do -- next, files do, beware: this is not the resolve order
total = total + 1
if find(k,"^remap:") then
- k = files[k]
- v = k -- files[k] -- chained
- end
- if find(k,pattern) then
+ -- forget about these
+ elseif find(k,pattern) then
if type(v) == "string" then
checked = checked + 1
if handle(blobtype,blobpath,v,k) then