summaryrefslogtreecommitdiff
path: root/tex/context/base/file-job.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-07-19 12:40:15 +0300
committerMarius <mariausol@gmail.com>2011-07-19 12:40:15 +0300
commit4b73db70e44825563db88d9f5943551af419e457 (patch)
treec310c2a04269fcef49f5bc78c484f52f0709e4a1 /tex/context/base/file-job.lua
parente4c246fb375298e91e3e279b42b74bbbfdc63a91 (diff)
downloadcontext-4b73db70e44825563db88d9f5943551af419e457.tar.gz
beta 2011.07.19 11:22
Diffstat (limited to 'tex/context/base/file-job.lua')
-rw-r--r--tex/context/base/file-job.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/file-job.lua b/tex/context/base/file-job.lua
index 7893b9396..8cd7ffeb8 100644
--- a/tex/context/base/file-job.lua
+++ b/tex/context/base/file-job.lua
@@ -37,10 +37,10 @@ local v_component = variables.component
local function findctxfile(name) -- loc ? any ?
if file.is_qualified_path(name) then -- maybe when no suffix do some test for tex
return name
- elseif not url.hasscheme(filename) then
- return findbyscheme("loc",filename) or ""
+ elseif not url.hasscheme(name) then
+ return resolvers.finders.byscheme("loc",name) or ""
else
- return resolvers.findtexfile(filename) or ""
+ return resolvers.findtexfile(name) or ""
end
end