1
Patch texdoclua becasue lfs.tmpname creates a file already so that
4
debian/texdoclua | 9 +--------
5
1 file changed, 1 insertion(+), 8 deletions(-)
7
Index: luatex-0.20.0/debian/texdoclua
8
===================================================================
9
--- luatex-0.20.0.orig/debian/texdoclua 2007-12-05 15:13:44.000000000 +0100
10
+++ luatex-0.20.0/debian/texdoclua 2007-12-05 15:17:43.000000000 +0100
12
-- than once (dvi besides ps or so)
15
- tmpdir = os.tmpname();
16
- is_ok_tmpdir,error_string = lfs.mkdir(tmpdir)
17
- if is_ok_tmpdir then
18
- -- needs_cleanup = true;
20
- print(error_string);
23
+ tmpdir = os.tmpdir("/tmp/texdoc.XXXXXX");
25
unzip_commandline = unzip_command .. filename .. " > " .. tmpdir .. "/" .. basename;
26
if os.execute(unzip_commandline) then