diff options
author | Ken Brown <kbrow1i@gmail.com> | 2018-05-09 12:45:29 +0000 |
---|---|---|
committer | Ken Brown <kbrow1i@gmail.com> | 2018-05-09 12:45:29 +0000 |
commit | 1d71ef5cac0b13cd78131aa0f8887ee77fa732aa (patch) | |
tree | 030369019e2b09e312be7d8155fc3e0013838398 /Master/bin/i386-cygwin/dvihp | |
parent | 03c291e9628ea9fc35ca1a29e2217742512c773d (diff) |
i386-cygwin update to 2018.1
git-svn-id: svn://tug.org/texlive/trunk@47651 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/i386-cygwin/dvihp')
-rwxr-xr-x | Master/bin/i386-cygwin/dvihp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Master/bin/i386-cygwin/dvihp b/Master/bin/i386-cygwin/dvihp index fdaf3fb87bf..03a2dbe9605 100755 --- a/Master/bin/i386-cygwin/dvihp +++ b/Master/bin/i386-cygwin/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 |