diff options
author | Reinhard Kotucha <reinhard.kotucha@web.de> | 2010-12-12 23:36:17 +0000 |
---|---|---|
committer | Reinhard Kotucha <reinhard.kotucha@web.de> | 2010-12-12 23:36:17 +0000 |
commit | abfff54c39f8fccebefcda8f16621b2789c62098 (patch) | |
tree | eb7e36d6516b4913297c0cbfd757c2d02c72bd5c /Master/bin/win32/runscript.tlu | |
parent | 297fce00900548bb73443fc040745267868bfdc9 (diff) |
bin/win32/runscript.tlu: fixed line endings.
git-svn-id: svn://tug.org/texlive/trunk@20718 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/win32/runscript.tlu')
-rw-r--r-- | Master/bin/win32/runscript.tlu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/bin/win32/runscript.tlu b/Master/bin/win32/runscript.tlu index 5043c9c00e9..00c412d1a80 100644 --- a/Master/bin/win32/runscript.tlu +++ b/Master/bin/win32/runscript.tlu @@ -571,11 +571,11 @@ end if (type(program) == 'table') then
local ret = assert(os.spawn(program))
if ret ~= 0 then
- local dbginfo = debug.getinfo(1) + local dbginfo = debug.getinfo(1)
local errormsg = string.format("%s:%d: command failed with exit code %d:\n%s",
dbginfo.short_src, dbginfo.currentline - 2, ret, table.concat(program, ' ') )
- os.setenv('RUNSCRIPT_ERROR_MESSAGE', errormsg) - io.stderr:write(errormsg, '\n') + os.setenv('RUNSCRIPT_ERROR_MESSAGE', errormsg)
+ io.stderr:write(errormsg, '\n')
end
os.exit(ret)
elseif (type(program) == 'string') then
|