diff options
author | Karl Berry <karl@freefriends.org> | 2018-03-03 18:29:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-03-03 18:29:03 +0000 |
commit | be3df25db62116ef060b36ae89fd2c3d41da4d7d (patch) | |
tree | 0927b57c937e19e51b7e0c1e239066762ff27403 /Master/bin/x86_64-linux/dvihp | |
parent | be898c6b1244e8e97f7bb28f2fee6313882de105 (diff) |
tl18 pretest initial setup
git-svn-id: svn://tug.org/texlive/trunk@46798 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/x86_64-linux/dvihp')
-rwxr-xr-x | Master/bin/x86_64-linux/dvihp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Master/bin/x86_64-linux/dvihp b/Master/bin/x86_64-linux/dvihp index fdaf3fb87bf..03a2dbe9605 100755 --- a/Master/bin/x86_64-linux/dvihp +++ b/Master/bin/x86_64-linux/dvihp @@ -6,14 +6,11 @@ : ${DVILJ=dvilj4} # the dvilj variant to run : ${SPOOL=lpr} # used to print an LJ file -: ${TMPDIR=${TEMP-${TMP-/tmp}}} # for the dvicopy output -tmpdir="${TMPDIR}"/dvihp$$ -(umask 077; mkdir "$tmpdir") \ +tmpdir=`mktemp -d` \ || { echo "cannot create directory \`$tmpdir'."; exit 1; } trap ' - cd "${TMPDIR}" test -d "$tmpdir" && { rm -f "$tmpdir"/*; rmdir "$tmpdir"; } exit 0 ' 0 1 2 3 6 7 13 15 |