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