1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/textproc/xlhtml/files/patch-ppthtml_nspptview
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

24 lines
576 B
Plaintext

--- ppthtml/nspptview.orig Sun Jun 22 08:47:02 2003
+++ ppthtml/nspptview Sun Jun 22 08:49:18 2003
@@ -1,7 +1,7 @@
#!/bin/csh
if ($#argv != 1) then
- echo "Usage: $0 file.doc"
+ echo "Usage: $0 file.ppt"
exit 1
endif
@@ -12,9 +12,8 @@
#set tmp = /tmp/$com:t.$$
#set html = $tmp.html
-set tmp = `mktemp -q /tmp/nspptview.XXXXXX` || exit 1
-set tmp2 = `mktemp -q $tmp/nspptview.XXXXXX` || exit 1
-set html = $tmp2.html
+set tmp = `mktemp -t nspptview.XXXXXX` || exit 1
+set html = $tmp.html
ppthtml $source > $html
if ((!(-r $html)) | ($status)) then