summaryrefslogtreecommitdiff
path: root/tex/context/base/mlib-run.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mlib-run.lua')
-rw-r--r--tex/context/base/mlib-run.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/mlib-run.lua b/tex/context/base/mlib-run.lua
index e35d92b28..72c16775d 100644
--- a/tex/context/base/mlib-run.lua
+++ b/tex/context/base/mlib-run.lua
@@ -73,7 +73,7 @@ local function finder(name, mode, ftype) -- we use the finder to intercept btex/
if not (find(name,"/metapost/context/base/") or find(name,"/metapost/context/") or find(name,"/metapost/base/")) then
local data, found, forced = metapost.checktexts(io.loaddata(name) or "")
if found then
- local temp = luatex.registertempfile(name)
+ local temp = luatex.registertempfile(name,true)
io.savedata(temp,data)
name = temp
end