17 lines
500 B
Plaintext
17 lines
500 B
Plaintext
$OpenBSD: patch-wvMime,v 1.3 2008/05/12 16:14:42 fgsch Exp $
|
|
--- wvMime.orig Thu May 8 13:57:31 2008
|
|
+++ wvMime Thu May 8 13:57:44 2008
|
|
@@ -43,10 +43,8 @@ fi
|
|
# temporary PS file, mangled to get some sort
|
|
# of semi-uniqueness
|
|
FILE=`basename ${1}`
|
|
-TMPDIR="/tmp/${FILE}-${USER}-${$}"
|
|
-TMPPS="$TMPDIR/${FILE}-${USER}-${$}.ps"
|
|
-
|
|
-mkdir $TMPDIR
|
|
+TMPDIR=`mktemp -d /tmp/wvMime.XXXXXXXXXX`
|
|
+TMPPS=`mktemp /tmp/wvMime.XXXXXXXXXX`
|
|
|
|
# Make sure all graphics go into /tmp as well
|
|
cp ${1} $TMPDIR/$FILE
|