summaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2020-04-02 11:24:04 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-02 11:25:26 -0700
commit035836193e6d9e1fc9cce6a0161cb3907fbc2ef5 (patch)
tree214149f1389af3d48d12c368933622ef02e912b2 /scripts
parentc6d5742c21c19f9cf8b964b49b8df935c1303417 (diff)
Fix typo in benchmarks.sh
PiperOrigin-RevId: 304440599
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/benchmark.sh4
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