slitaz-tools rev 46

Improved tazx again...
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 05 15:07:00 2008 +0100 (2008-02-05)
parents 6b802fc9bc6c
children 1131896e4775
files tinyutils/tazx
line diff
     1.1 --- a/tinyutils/tazx	Mon Feb 04 14:37:33 2008 +0100
     1.2 +++ b/tinyutils/tazx	Tue Feb 05 15:07:00 2008 +0100
     1.3 @@ -11,8 +11,12 @@
     1.4  XSERVER=Xvesa
     1.5  DOC=/usr/share/doc/slitaz-tools/tazx.txt
     1.6  MOUSE=/dev/input/mice,5
     1.7 -WM=$1
     1.8 -${WM:=jwm}
     1.9 +# WM can be specified on cmdline.
    1.10 +if [ -n "$1" ]; then
    1.11 +	WM=$1
    1.12 +else
    1.13 +	WM=jwm
    1.14 +fi
    1.15  
    1.16  # Main dialog.
    1.17  exec 3>&1