Merge pull request #11384 from rifelpet/kubetest2

Kubetest2 - Fix GNU mktemp syntax
This commit is contained in:
Kubernetes Prow Robot 2021-05-05 05:57:16 -07:00 committed by GitHub
commit e55878459e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ if [ -z "$FIRST_VERSION" ] || [ -z "$K8S_VERSION" ]; then
exit 1 exit 1
fi fi
FIRST_KOPS=$(mktemp -t kops) FIRST_KOPS=$(mktemp -t kops.XXXXXXXXX)
wget -o "${FIRST_KOPS}" "https://github.com/kubernetes/kops/releases/download/$FIRST_VERSION/kops-$(go env GOOS)-$(go env GOARCH)" wget -o "${FIRST_KOPS}" "https://github.com/kubernetes/kops/releases/download/$FIRST_VERSION/kops-$(go env GOOS)-$(go env GOARCH)"
chmod +x "${FIRST_KOPS}" chmod +x "${FIRST_KOPS}"