Very minor fixups.

Very minor fixups.
This commit is contained in:
fsgqa
2002-11-14 03:39:42 +00:00
parent d9bf55133a
commit a6f323b10c
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -150,9 +150,13 @@ fi
passes=$1
user=$2
group=$3
shift; shift; shift
benches=`echo run.* | sed -e 's/run\.//g'`
[ $# -gt 3 ] && benches=$4
if [ $# -gt 0 ]; then
benches="$@"
else
benches=`echo run.* | sed -e 's/run\.//g'`
fi
[ -z "$benches" -o "$benches" = "*" ] && _fail "no benchmark scripts found"
trap "_cleanup; exit \$status" 0 1 2 3 15