freebsd-ports/textproc/xlhtml/files/patch-xlhtml_nsxlview
Sergei Kolobov d6027cd923 - Patch browser helper utilities nsopen, nsxlview, and nsppptview
so that they work

PR:		53662
Submitted by:	John Merryweather Cooper <coop9211@uidaho.edu>
2003-12-13 00:34:18 +00:00

15 lines
438 B
Text

--- xlhtml/nsxlview.orig Sun Jun 22 08:36:31 2003
+++ xlhtml/nsxlview Sun Jun 22 08:44:57 2003
@@ -12,10 +12,8 @@
#set tmp = /tmp/$com:t.$$
#set html = $tmp.html
-set tmp = `mktemp -q /tmp/nsxlview.XXXXXX` || exit 1
-set tmp2 = `mktemp -q $tmp/nsxlview.XXXXXX` || exit 1
-set html = $tmp2.html
-
+set tmp = `mktemp -t nsxlview.XXXXXX` || exit 1
+set html = $tmp.html
xlhtml -a $source > $html
if ((!(-r $html)) | ($status)) then