remove /bin from md5 output

This commit is contained in:
Kevin Schoon 2018-02-01 16:27:09 -05:00
parent aa645b4c55
commit c25e4a7e21
1 changed files with 2 additions and 2 deletions

View File

@ -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