Skip to content

Commit 0f7841c

Browse files
authored
Apply suggestion from @bbartels
1 parent 9aab57c commit 0f7841c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/kubectl-helm-minikube/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ if [ ${KUBECTL_VERSION} != "none" ]; then
190190
curl -sSL -o /usr/local/bin/kubectl "${KUBECTL_MIRROR}/release/${KUBECTL_VERSION}/bin/linux/${architecture}/kubectl"
191191
chmod 0755 /usr/local/bin/kubectl
192192
if [ "$KUBECTL_SHA256" = "automatic" ]; then
193-
KUBECTL_SHA256="$(curl -sSL "${KUBECTL_MIRROR}/release/${KUBECTL_VERSION}/bin/linux/${architecture}/kubectl.sha256")"
193+
KUBECTL_SHA256="$(curl -sSL "${KUBECTL_MIRROR}/${KUBECTL_VERSION}/bin/linux/${architecture}/kubectl.sha256")"
194194
fi
195195
([ "${KUBECTL_SHA256}" = "dev-mode" ] || (echo "${KUBECTL_SHA256} */usr/local/bin/kubectl" | sha256sum -c -))
196196
if ! type kubectl > /dev/null 2>&1; then

0 commit comments

Comments
 (0)