summaryrefslogtreecommitdiff
path: root/Master/bin/i386-freebsd/dvihp
diff options
context:
space:
mode:
authorNikola Lečić <nikola.lecic@anthesphoria.net>2018-03-04 20:28:44 +0000
committerNikola Lečić <nikola.lecic@anthesphoria.net>2018-03-04 20:28:44 +0000
commit2dedb6340c3380b7688126a87f171b181b18446e (patch)
treedb956c59ede766c7acec4a894c1d8584e128cdb2 /Master/bin/i386-freebsd/dvihp
parentbbe1a8e21d5014d9ac0c46779d7e4b1ab1d231ab (diff)
Initial FreeBSD binaries for TL2018 (i386/amd64), built from r46815.
git-svn-id: svn://tug.org/texlive/trunk@46816 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/i386-freebsd/dvihp')
-rwxr-xr-xMaster/bin/i386-freebsd/dvihp5
1 files changed, 1 insertions, 4 deletions
diff --git a/Master/bin/i386-freebsd/dvihp b/Master/bin/i386-freebsd/dvihp
index fdaf3fb87bf..03a2dbe9605 100755
--- a/Master/bin/i386-freebsd/dvihp
+++ b/Master/bin/i386-freebsd/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