- 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 fi
# Setup our file vars # Setup our file vars
if [ "$#" -ge "2" ]; then if [ "$#" -ge "1" ]; then
infile="$1" infile="$1"
else else
infile="${HOME}/.quakeforge/timeframes.txt" infile="${HOME}/.quakeforge/timeframes.txt"
fi fi
if [ "$#" -ge "3" ]; then if [ "$#" -ge "2" ]; then
outfile="$2" outfile="$2"
else else
outfile="timeframes.png" outfile="timeframes.png"