diff options
-rwxr-xr-x | scripts/benchmark.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index e2d688710..e0f6df438 100755 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -18,11 +18,11 @@ source $(dirname $0)/common.sh # gcloud may be installed as a "snap". If it is, include it in PATH. declare -r snap="/snap/bin" -if [[ -d "-d ${snap}" ]]; then +if [[ -d "${snap}" ]]; then export PATH="${PATH}:${snap}" fi -# Make sure we can call gcloud and exit if not. +# Make sure we can find gcloud and exit if not. which gcloud # Exporting for subprocesses as GCP APIs and tools check this environmental |