openbsd-ports/devel/tcllib/patches/patch-examples_bibtex_bibtex_tcl

20 lines
446 B
Plaintext

$OpenBSD: patch-examples_bibtex_bibtex_tcl,v 1.1 2009/03/19 16:54:32 sthen Exp $
--- examples/bibtex/bibtex.tcl.orig Fri Jan 16 17:35:01 2009
+++ examples/bibtex/bibtex.tcl Fri Jan 16 17:35:21 2009
@@ -1,3 +1,7 @@
+#! /bin/sh
+# the next line restarts with tclsh \
+exec tclsh "$0" ${1+"$@"}
+
#####
#
# "BibTeX parser" -- Example Application.
@@ -8,7 +12,6 @@
#
#####
-lappend auto_path [file dirname [info script]]
# bibtex.tcl --
#