Skip to content

Commit

Permalink
only check local benchmarks if /usr/local/benchmarks exists
Browse files Browse the repository at this point in the history
  • Loading branch information
bengras committed Feb 4, 2010
1 parent 5795636 commit 2725087
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion benchmarks/run
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2725087

Please sign in to comment.