[hackers] [wmii] Fix rc.wmii.

From: Kris Maglione <jg_AT_suckless.org>
Date: Sat Apr 14 07:29:18 2007

changeset: 2068:9ca89274a296
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sat Apr 14 01:25:11 2007 -0400
summary: Fix rc.wmii.

diff -r 239b41cd3133 -r 9ca89274a296 rc/rc.wmii.rc
--- a/rc/rc.wmii.rc Sat Apr 14 00:07:52 2007 -0400
+++ b/rc/rc.wmii.rc Sat Apr 14 01:25:11 2007 -0400
@@ -40,9 +40,9 @@ if(echo $0 | grep -vs '/rc.wmii$') {
         exit badname
 }
 
-if(! text -x $PLAN9/read) {
- echo Can't find the '''read''' command >[1=2]
- xmessage -file - <<! &
+if(! test -x $PLAN9/bin/read) {
+ echo 'Can''t find the ''read'' command' >[1=2]
+ xmessage -file - <<'!'
         exec `{config_whatis wmiirc}
 }
 rc.wmii can't run:
@@ -251,3 +251,4 @@ wmiir read /event |
                 event = $1; shift
                 Event-$event $*
         } >[2]/dev/null </dev/null
+
Received on Sat Apr 14 2007 - 07:29:18 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:37 UTC