Drop the extraneous space in update-kustomize.sh

With coreutils sed, the argument to -i must follow it immediately;
having a space here causes the command to look for a file with an
empty name, which fails.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
This commit is contained in:
Stephen Kitt 2024-05-27 17:40:58 +02:00
parent 1c84623028
commit 31686c5483
No known key found for this signature in database
GPG Key ID: 1CC5FA453662A71D

View File

@ -57,7 +57,7 @@ fi
./hack/update-internal-modules.sh
./hack/lint-dependencies.sh
sed -i '' -e "s/const kustomizeVersion.*$/const kustomizeVersion = \"${LATEST_KUSTOMIZE}\"/" staging/src/k8s.io/kubectl/pkg/cmd/version/version.go
sed -i'' -e "s/const kustomizeVersion.*$/const kustomizeVersion = \"${LATEST_KUSTOMIZE}\"/" staging/src/k8s.io/kubectl/pkg/cmd/version/version.go
echo -e "\n${color_blue}Committing changes${color_norm}"
git add .