only check local benchmark dir if it exists
This commit is contained in:
parent
4876a324ab
commit
cb2ee95cf9
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,10 @@ make
|
||||||
BENCHDIR=/usr/local/benchmarks
|
BENCHDIR=/usr/local/benchmarks
|
||||||
|
|
||||||
basebenchmarks=`echo *bench*`
|
basebenchmarks=`echo *bench*`
|
||||||
packagebenchmarks=`(cd $BENCHDIR && echo *bench*)`
|
|
||||||
|
if [ -d $BENCHDIR ]
|
||||||
|
then packagebenchmarks=`(cd $BENCHDIR && echo *bench*)`
|
||||||
|
fi
|
||||||
|
|
||||||
runbench() {
|
runbench() {
|
||||||
bench=$1
|
bench=$1
|
||||||
|
|
Loading…
Reference in a new issue