diff --git a/xtermmaker.sh b/xtermmaker.sh index 62f3bb2..4856e6a 100755 --- a/xtermmaker.sh +++ b/xtermmaker.sh @@ -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