From ddec2a91256cd6ff6ec95044853e0500845fb619 Mon Sep 17 00:00:00 2001 From: ZeusPerez Date: Thu, 20 Jan 2022 17:25:52 +0100 Subject: [PATCH] Apply changes requested in the pull-kubernetes-verify failed check --- hack/lib/util.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/lib/util.sh b/hack/lib/util.sh index 3ce3ba56aca..67454132c99 100755 --- a/hack/lib/util.sh +++ b/hack/lib/util.sh @@ -221,8 +221,8 @@ kube::util::find-binary-for-platform() { fi # looks for $1 in the $PATH - if which ${lookfor} >/dev/null; then - local -r local_bin="$(which ${lookfor})" + if which "${lookfor}" >/dev/null; then + local -r local_bin="$(which "${lookfor}")" locations+=( "${local_bin}" ); fi