summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog6
-rwxr-xr-xBuild/source/texk/kpathsea/mktexlsr2
2 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 10abec4bca3..5c7d61d3fea 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,9 @@
+2015-04-14 Norbert Preining <norbert@preining.info>
+
+ * mktexlsr (treefile): switch back to hard-coded path, as
+ indeed it seems there are several systems without support for
+ mktexmp --tmpdir, just mktemp. TL2015 pretest emails.
+
2015-04-12 Karl Berry <karl@tug.org>
* texmf.cnf: update for TL'15.
diff --git a/Build/source/texk/kpathsea/mktexlsr b/Build/source/texk/kpathsea/mktexlsr
index 44354f35e2a..8d4a38018f9 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=`mktemp --tmpdir mktexlsrtrees.XXXXXXXXXX` || exit 1
+treefile="${TMPDIR-/tmp}/mktexlsrtrees$$.tmp"
trap 'cd /; rm -f $treefile; test -z "$db_dir_tmp" || rm -rf "$db_dir_tmp";
exit' 0 1 2 3 7 13 15