pkgsrc/textproc/catdoc/patches/patch-ad

20 lines
509 B
Text
Raw Normal View History

1998-08-07 13:08:53 +02:00
$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