diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-02-21 00:51:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-02-21 00:51:00 +0100 |
commit | 782b43e2fb4420cd950c8087222758e223df01bf (patch) | |
tree | 688ffd0f3fa63c045185a716f0d3da64405f9706 /tex/context/base/mlib-run.lua | |
parent | 74eb35dc817c64a5d8b6fea1b8acdf58e611a5e3 (diff) | |
download | context-782b43e2fb4420cd950c8087222758e223df01bf.tar.gz |
beta 2012.02.21 00:51
Diffstat (limited to 'tex/context/base/mlib-run.lua')
-rw-r--r-- | tex/context/base/mlib-run.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mlib-run.lua b/tex/context/base/mlib-run.lua index f8c0456a1..dd172f884 100644 --- a/tex/context/base/mlib-run.lua +++ b/tex/context/base/mlib-run.lua @@ -58,7 +58,7 @@ function metapost.resetlastlog() metapost.lastlog = "" end -local function finder(name, mode, ftype) -- we can use the finder to intercept btex/etex +local function finder(name, mode, ftype) if mode == "w" then return name elseif file.is_qualified_path(name) then @@ -68,7 +68,7 @@ local function finder(name, mode, ftype) -- we can use the finder to intercept b end end -local function finder(name, mode, ftype) -- we use the finder to intercept btex/etex +local function finder(name, mode, ftype) if mode ~= "w" then name = file.is_qualified_path(name) and name or resolvers.findfile(name,ftype) if not (find(name,"/metapost/context/base/") or find(name,"/metapost/context/") or find(name,"/metapost/base/")) then |