expect/expect-5.45-example-replace-expectk.patch

15 lines
448 B
Diff
Raw Permalink Normal View History

--- expect5.45/example/term_expect.orig 2013-09-21 16:42:15.177453812 +0200
+++ expect5.45/example/term_expect 2013-09-21 16:43:20.263847151 +0200
@@ -1,4 +1,10 @@
-#!/depot/path/expectk
+#!/bin/sh
+# -*- tcl -*-
+# The next line is executed by /bin/sh, but not tcl \
+exec tclsh "$0" ${1+"$@"}
+
+package require Tk
+package require Expect
# Name: tkterm - terminal emulator using Expect and Tk text widget, v3.0
# Author: Don Libes, July '94