Skip to content

Commit 96ce061

Browse files
authored
fix: resolve issue with benchmark script paths (valkey-io#4630)
fix: resolve issue with paths Signed-off-by: jbrinkman <joe.brinkman@improving.com>
1 parent 2929c97 commit 96ce061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/install_and_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function fillDB(){
106106
}
107107

108108
utilitiesDir=`pwd`/utilities
109-
script=`pwd`/${BASH_SOURCE[0]}
109+
script="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[0]}")"
110110
RELATIVE_BENCH_PATH=`dirname ${script}`
111111
export BENCH_FOLDER=`realpath ${RELATIVE_BENCH_PATH}`
112112
export PYTHON_FOLDER="${BENCH_FOLDER}/../python"

0 commit comments

Comments
 (0)