summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/kpathsea/ChangeLog9
-rwxr-xr-xBuild/source/texk/kpathsea/mktexlsr2
2 files changed, 10 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 18ee908215a..31cd1d89885 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,12 @@
+2015-03-25 Karl Berry <karl@tug.org>
+
+ * mktexlsr (treefile): use shell mktemp; patch from Debian
+ via tlbuild mail from Norbert, 6 Mar 2015 09:13:06.
+ Per Nelson Beebe, the program is available on a wide variety of
+ systems nowadays, excluding only SGI IRIX MIPS, which we have
+ not built binaries for in several years.
+ (tlbuild reply, 6 Mar 2015 06:22:21)
+
2015-03-14 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am, kpathsea.pc.in: Install <kpathsea/c-auto.h> under
diff --git a/Build/source/texk/kpathsea/mktexlsr b/Build/source/texk/kpathsea/mktexlsr
index 8d4a38018f9..44354f35e2a 100755
--- a/Build/source/texk/kpathsea/mktexlsr
+++ b/Build/source/texk/kpathsea/mktexlsr
@@ -73,7 +73,7 @@ if tty -s; then verbose=true; else verbose=false; fi
dry_run=false
trees=
-treefile="${TMPDIR-/tmp}/mktexlsrtrees$$.tmp"
+treefile=`mktemp --tmpdir mktexlsrtrees.XXXXXXXXXX` || exit 1
trap 'cd /; rm -f $treefile; test -z "$db_dir_tmp" || rm -rf "$db_dir_tmp";
exit' 0 1 2 3 7 13 15