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.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/data-res.lua b/tex/context/base/data-res.lua
index d6de90ef0..773f7d58e 100644
--- a/tex/context/base/data-res.lua
+++ b/tex/context/base/data-res.lua
@@ -1152,7 +1152,7 @@ local function find_intree(filename,filetype,wantedfiles,allresults)
if not subpath or subpath == "" then
-- rootscan already done
elseif type(subpath) == "string" then
- local fname = check_subpath(filejoin(ppname,subpath,w))
+ local fname = check_subpath(filejoin(pname,subpath,w))
if fname then
result[#result+1] = fname
done = true
@@ -1166,7 +1166,7 @@ local function find_intree(filename,filetype,wantedfiles,allresults)
if sp == "" then
-- roottest already done
else
- local fname = check_subpath(filejoin(ppname,sp,w))
+ local fname = check_subpath(filejoin(pname,sp,w))
if fname then
result[#result+1] = fname
done = true