Skip to content

Commit 2524984

Browse files
committed
bench.sh: fix detection of correct working dir
the script tested for "../../build-bench-env.sh" to be present, which is now deleted. Check for "../../bench.sh" (this file) instead.
1 parent 418f356 commit 2524984

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bench.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ esac
6161
# --------------------------------------------------------------------
6262

6363
readonly curdir=`pwd`
64-
if ! test -f ../../build-bench-env.sh; then
64+
if ! test -f ../../bench.sh; then
6565
echo "error: you must run this script from the 'out/bench' directory!"
6666
exit 1
6767
fi

0 commit comments

Comments
 (0)