Skip to content

Commit

Permalink
Replace fgrep with grep F in makefile
Browse files Browse the repository at this point in the history
```
fgrep: warning: fgrep is obsolescent; using grep -F
```
  • Loading branch information
lwolf committed Nov 17, 2022
1 parent 2f44d34 commit 860d224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 860d224

Please sign in to comment.