From e3508a5c64c820081b41d6c1eb037b6d20dcec20 Mon Sep 17 00:00:00 2001 From: Adam Olsen Date: Sun, 9 Dec 2001 16:52:43 +0000 Subject: [PATCH] - oops, count the command line properly --- tools/graph-timeframes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/graph-timeframes b/tools/graph-timeframes index 53f8d4e32..d0b0fe508 100755 --- a/tools/graph-timeframes +++ b/tools/graph-timeframes @@ -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"