--- ppthtml/nspptview.orig 2002-03-20 15:32:43 UTC
+++ ppthtml/nspptview
@@ -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 source = $argv[1]
#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