Skip to content

Commit 860d224

Browse files
committed
Replace fgrep with grep F in makefile
``` fgrep: warning: fgrep is obsolescent; using grep -F ```
1 parent 2f44d34 commit 860d224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ $(KUSTOMIZE): $(LOCALBIN)
142142
.PHONY: controller-gen $(CONTROLLER_GEN)
143143
controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessary.
144144
$(CONTROLLER_GEN): $(LOCALBIN)
145-
$(LOCALBIN)/controller-gen --version | fgrep "$(CONTROLLER_TOOLS_VERSION)" || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_TOOLS_VERSION)
145+
$(LOCALBIN)/controller-gen --version | grep -F "$(CONTROLLER_TOOLS_VERSION)" || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_TOOLS_VERSION)
146146

147147
.PHONY: envtest
148148
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.

0 commit comments

Comments
 (0)