]> git.pld-linux.org Git - packages/texlive.git/blame - texlive-2007-tmpcleanup.patch
- it seems now builds with newest glibc
[packages/texlive.git] / texlive-2007-tmpcleanup.patch
CommitLineData
768e5264
AM
1--- TeX/texk/tetex/texconfig.tmpcleanup 2006-05-24 17:21:48.000000000 -0700
2+++ TeX/texk/tetex/texconfig 2006-05-24 17:23:55.000000000 -0700
3@@ -38,7 +38,8 @@
4 TEXSOURCES TFMFONTS TRFONTS TTFONTS VFFONTS WEB2C WEBINPUTS
5 "
6 tmpdir=`mktemp -d "${TMP-/tmp}/$progname.XXXXXX"` || exit 1
7-needsCleanup=false
8+trap -- "cleanup;" EXIT 1 2 3 7 13 15
9+needsCleanup=true
10 lastUpdatedFile=
11
12 ###############################################################################
13--- TeX/texk/tetex/updmap.tmpcleanup 2006-05-24 17:24:18.000000000 -0700
14+++ TeX/texk/tetex/updmap 2006-05-24 17:26:39.000000000 -0700
15@@ -1288,7 +1288,7 @@
16 texhashEnabled=true
17 mkmapEnabled=true
18 verbose=true
19- needsCleanup=false
20+ needsCleanup=true
21
22 cnfFileShort=updmap.cfg
23 cnfFile=
24@@ -1296,7 +1296,8 @@
25 : ${TEXMFMAIN=`kpsewhich -var-value=TEXMFMAIN`}
26
27 tmpdir=`mktemp -d ${TMP-/tmp}/$progname.XXXXXX` || \
28- abort "could not create directory"
29+ abort "could not create temporary directory"
30+ trap -- "cleanup;" EXIT 1 2 3 7 13 15
31 tmp1=$tmpdir/a
32 tmp2=$tmpdir/b
33 tmp3=$tmpdir/c
34--- TeX/texk/tetex/fmtutil.tmpcleanup 2006-05-24 17:27:13.000000000 -0700
35+++ TeX/texk/tetex/fmtutil 2006-05-24 17:30:36.000000000 -0700
36@@ -349,11 +349,13 @@
37 destdir= # global variable: where do we put the format files?
38 cnf_file= # global variable: full name of the config file
39 cmd= # desired action from command line
40- needsCleanup=false
41+ needsCleanup=true
42 need_find_hyphenfile=false
43 cfgparam=
44 cfgmaint=
45- tmpdir=`mktemp -d ${TMP-/tmp}/$progname.XXXXXX`
46+ tmpdir=`mktemp -d ${TMP-/tmp}/$progname.XXXXXX` || \
47+ abort "could not create temporary directory"
48+ trap -- "cleanup;" EXIT 1 2 3 7 13 15
49 verboseFlag=true
50
51 # mktexfmtMode: if called as mktexfmt, set to true. Will echo the generated
This page took 0.04074 seconds and 4 git commands to generate.