summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/data-res.lua
diff options
context:
space:
mode:
authorTaco Hoekwater <taco@elvenkind.com>2011-06-22 10:59:18 +0000
committerTaco Hoekwater <taco@elvenkind.com>2011-06-22 10:59:18 +0000
commite9926fd469aff4508bb8cacdfa41eb2186e40ef8 (patch)
tree6cd9bd4214218d06204986e7b65e3cd7d33bbcfc /Master/texmf-dist/tex/context/base/data-res.lua
parent97425552ee681cfb80901aa7e68b13a82fad5a1c (diff)
Previous context mkiv patch for runtime files was problematic:
it always did a deep search on all paths, regardless of whether or not // was appended to the specification. This commit fixes that. git-svn-id: svn://tug.org/texlive/trunk@23087 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/data-res.lua')
-rw-r--r--Master/texmf-dist/tex/context/base/data-res.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/base/data-res.lua b/Master/texmf-dist/tex/context/base/data-res.lua
index 33b1fe65274..cac283092c2 100644
--- a/Master/texmf-dist/tex/context/base/data-res.lua
+++ b/Master/texmf-dist/tex/context/base/data-res.lua
@@ -1019,6 +1019,7 @@ local function collect_instance_files(filename,askedformat,allresults) -- todo :
local path = pathlist[k]
local pathname = lpegmatch(inhibitstripper,path)
local doscan = path == pathname -- no ^!!
+ if not find (pathname, '//$') then doscan = false end
done = false
-- using file list
if filelist then