benchmarks: update path to baseline cli

The `fullpath` function takes the cli, but doesn't keep the cli.
This commit is contained in:
Edward Thomson
2025-01-09 21:45:11 +00:00
parent 3900c3b0e7
commit 4c57f9e565

View File

@@ -100,11 +100,11 @@ SYSTEM_KERNEL=$(uname -v)
fullpath() {
if [[ "$(uname -s)" == "MINGW"* && $(cygpath -u "${TEST_CLI}") == "/"* ]]; then
echo "${TEST_CLI}"
echo "$1"
elif [[ "${TEST_CLI}" == "/"* ]]; then
echo "${TEST_CLI}"
echo "$1"
else
which "${TEST_CLI}"
which "$1"
fi
}