summaryrefslogtreecommitdiff
path: root/textproc/catdoc/patches/patch-ad
blob: d92ef1996d96a3d7be1f604e0ef3a0e315927773 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ad,v 1.2 1998/08/07 11:14:12 agc Exp $

--- wordview.orig	Tue Nov 11 15:04:07 1997
+++ wordview	Sat Jun 20 01:20:09 1998
@@ -1,4 +1,4 @@
-#!/usr/bin/wish4.2
+#!@PREFIX@/bin/wish8.0
 
 set font 8x13
 
@@ -72,7 +72,7 @@
 if ![file readable $name] {
   return -code error "Cannot open file $name"
 }
-set f [open "|[file dirname [info script]]/catdoc -w $name" r]
+set f [open "|@PREFIX@/bin/catdoc -w $name" r]
 .text configure -state normal
 .text delete 0.0 end
 .text insert 0.0 [read $f] doc