$OpenBSD: patch-wvHtml_in,v 1.2 2002/09/08 12:15:04 avsm Exp $ --- wvHtml.in.orig Mon Feb 18 11:55:00 2002 +++ wvHtml.in Sat Sep 7 22:43:20 2002 @@ -136,8 +136,11 @@ else exit 1 fi +TMPDIR=`mktemp -d /tmp/wvHtml.XXXXXXXXXX` && { if test "x$o_file" = "x-"; then "$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file" else "$wv_exec" $wv_opts -x "$xmlcfg" -d "$t_dir" -b "$name" "$i_file" > "$t_dir"/"$o_file" fi +rm -rf ${TMPDIR} +}