- oops, count the command line properly

This commit is contained in:
Adam Olsen 2001-12-09 16:52:43 +00:00
parent dfb405f4ae
commit e3508a5c64

View file

@ -8,12 +8,12 @@ if [ -z "`which xmgrace`" ]; then
fi
# Setup our file vars
if [ "$#" -ge "2" ]; then
if [ "$#" -ge "1" ]; then
infile="$1"
else
infile="${HOME}/.quakeforge/timeframes.txt"
fi
if [ "$#" -ge "3" ]; then
if [ "$#" -ge "2" ]; then
outfile="$2"
else
outfile="timeframes.png"