summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/grph-fil.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-08-30 17:21:31 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-08-30 17:21:31 +0200
commit65bc427dff7ea819abb9b38a0407026baf13a0cc (patch)
tree6536fd752b3b52a504b274f20b1f58def4455910 /tex/context/base/mkiv/grph-fil.lua
parent59dfd8f21ca1a5c793a89b6af87a28df5a78a3d3 (diff)
downloadcontext-65bc427dff7ea819abb9b38a0407026baf13a0cc.tar.gz
2021-08-30 16:23:00
Diffstat (limited to 'tex/context/base/mkiv/grph-fil.lua')
-rw-r--r--tex/context/base/mkiv/grph-fil.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/tex/context/base/mkiv/grph-fil.lua b/tex/context/base/mkiv/grph-fil.lua
index aad110e1c..4de30cd30 100644
--- a/tex/context/base/mkiv/grph-fil.lua
+++ b/tex/context/base/mkiv/grph-fil.lua
@@ -141,14 +141,13 @@ end
local done = { }
local function analyzed(name,options)
- local actiontype = type(action)
local usedname = addsuffix(name,inputsuffix) -- we assume tex if not set
local resultname = replacesuffix(name,resultsuffix) -- we assume tex if not set
local pathname = file.pathpart(usedname)
local runpath = environment.arguments.path -- sic, no runpath
if pathname ~= "" then
if runpath then
- runpath = file.join(action.path,pathname)
+ runpath = file.join(runpath,pathname)
else
runpath = pathname
end
@@ -156,7 +155,7 @@ local function analyzed(name,options)
end
return {
options = options,
- path = runpath,
+ path = runpath, -- or nil
filename = usedname,
result = resultname,
}