openbsd-ports/lang/expect/patches/patch-example_kibitz

13 lines
464 B
Plaintext

$OpenBSD: patch-example_kibitz,v 1.1 2004/01/19 07:22:52 jolan Exp $
--- example/kibitz.orig 2002-02-11 20:00:57.000000000 -0600
+++ example/kibitz 2004-01-18 21:51:34.000000000 -0600
@@ -352,7 +352,7 @@ if {$local_io} {
# can't use exec since write insists on being run from a tty!
set rc [catch {
system echo "Can we talk? Run: \"kibitz -$pid\"" | \
- /bin/write $user $tty
+ /usr/bin/write $user $tty
}
]
if {$rc} {rmfifos;abort}