bugfix in increasing $color_count
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# LOC ~/scripts/xtermmaker.sh
|
||||
# CVS $Id: xtermmaker.sh,v 1.5 2003/10/13 14:04:27 heinzel Exp $
|
||||
version='xtermmaker.sh Version 3.4 $Revision: 1.5 $ ($Date: 2003/10/13 14:04:27 $ $Author: heinzel $)'
|
||||
# CVS $Id: xtermmaker.sh,v 1.6 2003/10/13 14:16:24 heinzel Exp $
|
||||
version='xtermmaker.sh Version 3.4 $Revision: 1.6 $ ($Date: 2003/10/13 14:16:24 $ $Author: heinzel $)'
|
||||
|
||||
### config ###
|
||||
xterm=xterm
|
||||
@@ -155,7 +155,7 @@ until test $xterm_count -gt $many ; do
|
||||
case "$color" in
|
||||
BUNT)
|
||||
bg_opt="-bg `echo $colors | cut -f $color_count -d ,`"
|
||||
if test "$color_count" -le "$ncolors" ; then
|
||||
if test "$color_count" -lt "$ncolors" ; then
|
||||
color_count=`expr $color_count + 1`
|
||||
else
|
||||
color_count=1
|
||||
|
||||
Reference in New Issue
Block a user