Blob Blame History Raw
--- a2ps-4.13/contrib/psmandup.in.tmpdir	2006-02-15 11:03:50.000000000 +0000
+++ a2ps-4.13/contrib/psmandup.in	2006-02-15 11:03:50.000000000 +0000
@@ -36,7 +36,7 @@
 message=
 psselect=${PSSELECT:-psselect}
 psset=${PSSET:-psset}
-tmpdir=/tmp/$program.$$
+tmpdir=$(mktemp -d /tmp/$program.XXXXXX)
 
 # These two must be kept in synch.  They are opposed.
 verbose=echo
--- a2ps-4.13/contrib/fixps.in.tmpdir	2006-02-15 11:06:07.000000000 +0000
+++ a2ps-4.13/contrib/fixps.in	2006-02-15 11:06:33.000000000 +0000
@@ -38,7 +38,7 @@
 run_gs=0
 # What action to perform: fixps, cat, check, and gs
 task=fixps
-tmpdir=/tmp/$program.$$
+tmpdir=$(mktemp -d /tmp/$program.XXXXXX)
 verbose=echo
 
 # The version/usage strings
--- a2ps-4.13/contrib/pdiff.in.tmpdir	2006-02-15 11:05:44.000000000 +0000
+++ a2ps-4.13/contrib/pdiff.in	2006-02-15 11:05:56.000000000 +0000
@@ -34,7 +34,7 @@
 diff_options='-u'
 file=
 output=
-tmpdir=/tmp/$program.$$
+tmpdir=$(mktemp -d /tmp/$program.XXXXXX)
 verbose=echo
 wdiff_prog=${WDIFF:-wdiff}
 wdiff_options='-w[wd- -x-wd] -y{wd+ -z+wd}'