17 lines
499 B
Plaintext
17 lines
499 B
Plaintext
$OpenBSD: patch-wvMime,v 1.2 2002/09/08 12:15:04 avsm Exp $
|
|
--- wvMime.orig Fri Jan 19 05:11:01 2001
|
|
+++ wvMime Sat Sep 7 22:53:06 2002
|
|
@@ -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
|