From 860d2248a2fffce9697a8b0368c11ef1bb236477 Mon Sep 17 00:00:00 2001 From: Sergey Nuzhdin Date: Thu, 17 Nov 2022 11:14:25 +0000 Subject: [PATCH] Replace fgrep with `grep F` in makefile ``` fgrep: warning: fgrep is obsolescent; using grep -F ``` --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 196bed5..76aa3ae 100644 --- a/Makefile +++ b/Makefile @@ -142,7 +142,7 @@ $(KUSTOMIZE): $(LOCALBIN) .PHONY: controller-gen $(CONTROLLER_GEN) controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessary. $(CONTROLLER_GEN): $(LOCALBIN) - $(LOCALBIN)/controller-gen --version | fgrep "$(CONTROLLER_TOOLS_VERSION)" || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_TOOLS_VERSION) + $(LOCALBIN)/controller-gen --version | grep -F "$(CONTROLLER_TOOLS_VERSION)" || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_TOOLS_VERSION) .PHONY: envtest envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.