Skip to content

Commit

Permalink
benchmarks: update path to baseline cli
Browse files Browse the repository at this point in the history
The `fullpath` function takes the cli, but doesn't keep the cli.
  • Loading branch information
ethomson committed Jan 9, 2025
1 parent e2dfcea commit 436f4e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/benchmarks/benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 436f4e7

Please sign in to comment.