From 1c5e36725f4cb54480fbb22d8e0476dddf9b3c8c Mon Sep 17 00:00:00 2001 From: Greg Szabo Date: Thu, 6 Jul 2017 20:08:36 +0000 Subject: [PATCH] Makefile workaround for different binary name for trackomatron (tracko) --- devops/rpmbuild/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/devops/rpmbuild/Makefile b/devops/rpmbuild/Makefile index 459f0a6e3..d429242d5 100644 --- a/devops/rpmbuild/Makefile +++ b/devops/rpmbuild/Makefile @@ -81,6 +81,7 @@ build-trackomatron: git-branch go get -d -u go github.com/tendermint/trackomatron || echo "Workaround so there is no error message." cd $(GOPATH)/src/github.com/tendermint/trackomatron && git checkout "$(GIT_BRANCH)" && git pull $(MAKE) -C $(GOPATH)/src/github.com/tendermint/trackomatron get_vendor_deps install + @echo "Workaround: trackomatron package has tracko as the binary - trackomatron needed to get the version number" && rm -rf $(GOPATH)/bin/trackomatron && ln -s $(GOPATH)/bin/tracko $(GOPATH)/bin/trackomatron @echo "*** Built trackomatron" version-%: $(GOPATH)/bin/%