From 035836193e6d9e1fc9cce6a0161cb3907fbc2ef5 Mon Sep 17 00:00:00 2001 From: Zach Koopmans Date: Thu, 2 Apr 2020 11:24:04 -0700 Subject: Fix typo in benchmarks.sh PiperOrigin-RevId: 304440599 --- scripts/benchmark.sh | 4 ++-- 1 file 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 -- cgit v1.2.3