summaryrefslogtreecommitdiff
path: root/scripts/context/lua/mtx-context.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-03-14 18:00:16 +0200
committerMarius <mariausol@gmail.com>2013-03-14 18:00:16 +0200
commit800d981b5f6f6d1f196dd3b9a421edb76504d600 (patch)
treeb67287c8c77ddfca8571f4160611c12d194304c9 /scripts/context/lua/mtx-context.lua
parent660cef836abefb5cb3256ce80532e5c4abc5af7f (diff)
downloadcontext-800d981b5f6f6d1f196dd3b9a421edb76504d600.tar.gz
beta 2013.03.14 16:12
Diffstat (limited to 'scripts/context/lua/mtx-context.lua')
-rw-r--r--scripts/context/lua/mtx-context.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-context.lua b/scripts/context/lua/mtx-context.lua
index 61aebe9b5..d06b60b77 100644
--- a/scripts/context/lua/mtx-context.lua
+++ b/scripts/context/lua/mtx-context.lua
@@ -492,6 +492,7 @@ local function run_texexec(filename,a_purge,a_purgeall)
options = gsub(options,"--purge","")
options = gsub(options,"--purgeall","")
local command = format("ruby %s %s",texexec,options)
+ report("running command: %s\n\n",command)
if a_purge then
os.execute(command)
scripts.context.purge_job(filename,false,true)
@@ -499,7 +500,7 @@ local function run_texexec(filename,a_purge,a_purgeall)
os.execute(command)
scripts.context.purge_job(filename,true,true)
else
- os.exec(command)
+ os.execute(command) -- we can use os.exec but that doesn't give back timing
end
end
end