Remove old tg binary before building erigon binary (#2023)

* Update Makefile

* Use -f flag
This commit is contained in:
ledgerwatch 2021-05-27 06:57:25 +01:00 committed by GitHub
parent ffb5fceb6e
commit 5a0afc0a72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,7 @@ geth: mdbx
erigon: go-version mdbx
@echo "Building Erigon"
rm -f $(GOBIN)/tg # Remove old binary to prevent confusion where users still use it because of the scripts
$(GOBUILD) -o $(GOBIN)/erigon ./cmd/erigon
@echo "Done building."
@echo "Run \"$(GOBIN)/erigon\" to launch Erigon."