mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 04:32:37 +00:00
Apply changes requested in the pull-kubernetes-verify failed check
This commit is contained in:
@@ -221,8 +221,8 @@ kube::util::find-binary-for-platform() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# looks for $1 in the $PATH
|
# looks for $1 in the $PATH
|
||||||
if which ${lookfor} >/dev/null; then
|
if which "${lookfor}" >/dev/null; then
|
||||||
local -r local_bin="$(which ${lookfor})"
|
local -r local_bin="$(which "${lookfor}")"
|
||||||
locations+=( "${local_bin}" );
|
locations+=( "${local_bin}" );
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user