diff options
Diffstat (limited to 'tex/context/base/grph-fil.lua')
-rw-r--r-- | tex/context/base/grph-fil.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tex/context/base/grph-fil.lua b/tex/context/base/grph-fil.lua index da7441288..1ec88b487 100644 --- a/tex/context/base/grph-fil.lua +++ b/tex/context/base/grph-fil.lua @@ -42,11 +42,11 @@ function jobfiles.run(name,action) if trace_run then report_run("processing file, changes in '%s', processing forced",name) end - local a = type(action) - if a == "function" then - a(name) - elseif a == "string" and action ~= "" then - os.execute(a) + local ta = type(action) + if ta == "function" then + action(name) + elseif ta == "string" and action ~= "" then + os.execute(action) else report_run("processing file, no action given for processing '%s'",name) end |