diff options
author | Marius <mariausol@gmail.com> | 2012-02-21 02:20:25 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-02-21 02:20:25 +0200 |
commit | 183dc1310ce5237533807ce07b2d3cd2d40962a1 (patch) | |
tree | b6607e33b02a8ff22cd64b2b647625354e6a1849 /tex/context/base/mlib-run.lua | |
parent | 804ec91e98cd955dc41da3ea7f2a438f485d9b40 (diff) | |
download | context-183dc1310ce5237533807ce07b2d3cd2d40962a1.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 |