summaryrefslogtreecommitdiff
path: root/finance/tclticker/patches/patch-aa
blob: c7712fc4e13686840c98277f3b8810e2f3ce4696 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-aa,v 1.2 2001/11/14 11:55:17 agc Exp $

--- tclticker.orig	Mon Dec 20 15:27:02 1999
+++ tclticker	Wed Aug 30 21:00:36 2000
@@ -1,6 +1,6 @@
 #!/bin/sh
 # restart using wish \
-  exec wish8.0 "$0" ${1+"$@"}
+  exec wish "$0" ${1+"$@"}
 
 # stock ticker 
 # copyright 1999 tom poindexter <tpoindex@nyx.net>
@@ -43,7 +43,9 @@
 # authors grant the U.S. Government and others acting in its behalf
 # permission to use and distribute the software in accordance with the
 # terms specified in this license. 
- 
+
+# set this explicitly
+set env(TCLTICKER_LIB) "@PREFIX@/share/tclticker"
 
 if {! [info exists env(TCLTICKER_LIB)]} {
     lappend auto_path [file join [file dirname $argv0] lib]