diff options
author | Norbert Preining <preining@logic.at> | 2015-04-14 12:15:08 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2015-04-14 12:15:08 +0000 |
commit | 74dc26b9584af92ae036e19ded4fa042fb62cbab (patch) | |
tree | 78356fe22c52c78ee4b7508da511c9c56c2f9de0 /Build | |
parent | af75f82554bbcea380389207e09b6f4d19f75679 (diff) |
switch back to hard treefile/TMPDIR path in mktexlsr
it seems although mktemp is available widely, mktemp --tmpdir is not ..
git-svn-id: svn://tug.org/texlive/trunk@36855 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 6 | ||||
-rwxr-xr-x | Build/source/texk/kpathsea/mktexlsr | 2 |
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 |