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
4 TEXSOURCES TFMFONTS TRFONTS TTFONTS VFFONTS WEB2C WEBINPUTS
6 tmpdir=`mktemp -d "${TMP-/tmp}/$progname.XXXXXX"` || exit 1
8 +trap -- "cleanup;" EXIT 1 2 3 7 13 15
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
22 cnfFileShort=updmap.cfg
25 : ${TEXMFMAIN=`kpsewhich -var-value=TEXMFMAIN`}
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
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
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
42 need_find_hyphenfile=false
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
51 # mktexfmtMode: if called as mktexfmt, set to true. Will echo the generated