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:
		| @@ -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 . | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stephen Kitt
					Stephen Kitt