only check local benchmark dir if it exists
This commit is contained in:
parent
4876a324ab
commit
cb2ee95cf9
@ -7,7 +7,10 @@ make
|
||||
BENCHDIR=/usr/local/benchmarks
|
||||
|
||||
basebenchmarks=`echo *bench*`
|
||||
packagebenchmarks=`(cd $BENCHDIR && echo *bench*)`
|
||||
|
||||
if [ -d $BENCHDIR ]
|
||||
then packagebenchmarks=`(cd $BENCHDIR && echo *bench*)`
|
||||
fi
|
||||
|
||||
runbench() {
|
||||
bench=$1
|
||||
|
Loading…
x
Reference in New Issue
Block a user