From 31686c54832fde1a8dc187def5b8434ce7c88140 Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Mon, 27 May 2024 17:40:58 +0200 Subject: [PATCH] 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 --- hack/update-kustomize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/update-kustomize.sh b/hack/update-kustomize.sh index 80f8cab5ce5..19cdaeeb0bf 100755 --- a/hack/update-kustomize.sh +++ b/hack/update-kustomize.sh @@ -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 .