Skip to content

Commit

Permalink
removed unnecessary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ehearneRedHat committed Jun 10, 2024
1 parent 9106013 commit ecf1442
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ test: clean-cov fmt vet $(GINKGO)
install: fmt vet
ifneq ($(GIT_HASH),$(GIT_DIRTY))
GOBIN=$(PROJECT_PATH)/bin $(GO) install -ldflags "-X 'github.com/kuadrant/kuadrantctl/version.GitDirty=$(GIT_DIRTY)' -X 'github.com/kuadrant/kuadrantctl/version.GitHash=$(GIT_HASH)'"
else ifneq ($(GIT_HASH))
GOBIN=$(PROJECT_PATH)/bin $(GO) install -ldflags "-X 'github.com/kuadrant/kuadrantctl/version.GitHash=$(GIT_HASH)'"
else
GOBIN=$(PROJECT_PATH)/bin $(GO) install
endif
Expand Down

0 comments on commit ecf1442

Please sign in to comment.