summaryrefslogtreecommitdiff
path: root/wm/ratpoison/patches/patch-aa
blob: 2ea00c187f1d11e0b0f8f33727f4845d04c695b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-aa,v 1.3 2006/03/09 14:50:31 ghen Exp $

--- contrib/rpws.orig	2004-11-17 17:27:38.000000000 +0100
+++ contrib/rpws
@@ -80,7 +80,7 @@ ws_save ()
 ws_restore ()
 {
     ws_save
-    if [ $1 == 1 ]; then
+    if [ $1 = 1 ]; then
 	rp_call gselect default
     else
 	rp_call gselect ws$1
@@ -108,9 +108,9 @@ if [ -z $@ ]; then
     echo "$0 -b      -- setup some key bindings"
     echo "$0 <n>     -- Switch to workspace n"
 else
-    if [ $1 == -i ]; then
+    if test $1 = -i ; then
 	ws_init
-    elif [ $1 == -b ]; then
+    elif test $1 = -b ; then
 	ws_bindings
     else
 	ws_restore $1