opnsense-ports/textproc/xmlto/files/patch-xmlto.in
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
334 B
Text

This patch makes sure that w3m or others will not pollute $HOME/
--- ./xmlto.in.orig 2011-11-29 12:49:57.000000000 +0100
+++ ./xmlto.in 2013-10-07 23:52:57.000000000 +0200
@@ -611,4 +611,6 @@
# Extremely verbose
BASH="${BASH} -x"
fi
+make_temp -d temphome HOME || exit 1
+export HOME
${BASH} "$FORMAT" post-process || exit 1