[hackers] [wmii] Quote $PROGS_FILE elsewhere

From: Kris Maglione <jg_AT_suckless.org>
Date: Sun Feb 25 21:31:27 2007

changeset: 1958:dd725f2d8d38
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sun Feb 25 15:29:27 2007 -0500
summary: Quote $PROGS_FILE elsewhere

diff -r cc65829f92d8 -r dd725f2d8d38 rc/wmiirc
--- a/rc/wmiirc Sun Feb 25 15:25:41 2007 -0500
+++ b/rc/wmiirc Sun Feb 25 15:29:27 2007 -0500
@@ -96,7 +96,7 @@ Key $MODKEY-a
 Key $MODKEY-a
         Action \$(actionlist | $WMII_MENU) &
 Key $MODKEY-p
- sh -c "\$($WMII_MENU <$PROGS_FILE)" &
+ sh -c "\$($WMII_MENU <\$PROGS_FILE)" &
 Key $MODKEY-t
         wmiir xwrite /ctl "view \$(tagsmenu)" &
 Key $MODKEY-Return
@@ -155,7 +155,7 @@ Action() {
 # Misc
 PROGS_FILE="$WMII_NS_DIR/.proglist"
 Action status &
-proglist $PATH >$PROGS_FILE &
+proglist $PATH >\$PROGS_FILE &
 EOF
 
 xsetroot -solid "$WMII_BACKGROUND" &
Received on Sun Feb 25 2007 - 21:31:27 UTC

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