From c25e4a7e2179d05c4b9850c6fbd7e92c5428d366 Mon Sep 17 00:00:00 2001 From: Kevin Schoon Date: Thu, 1 Feb 2018 16:27:09 -0500 Subject: [PATCH] remove /bin from md5 output --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6915147..1c2d670 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ bin/pomo-$(VERSION)-linux-amd64: bin bindata.go go build -ldflags "-X main.Version=$(VERSION)" -o $@ bin/pomo-$(VERSION)-linux-amd64.md5: - md5sum bin/pomo-$(VERSION)-linux-amd64 > $@ + md5sum bin/pomo-$(VERSION)-linux-amd64 | sed -e 's/bin\///' > $@ bin/pomo-$(VERSION)-darwin-amd64: bin bindata.go # This is used to cross-compile a Darwin compatible Mach-O executable @@ -37,7 +37,7 @@ bin/pomo-$(VERSION)-darwin-amd64: bin bindata.go bin/pomo-$(VERSION)-darwin-amd64.md5: - md5sum bin/pomo-$(VERSION)-darwin-amd64 > $@ + md5sum bin/pomo-$(VERSION)-darwin-amd64 | sed -e 's/bin\///' > $@ release-linux: bin/pomo-$(VERSION)-linux-amd64 bin/pomo-$(VERSION)-linux-amd64.md5