From fa5d440f4fd50ab9f91bd9eeb134037b7341fa65 Mon Sep 17 00:00:00 2001 From: Tyler Cipriani Date: Thu, 13 Sep 2018 10:59:02 -0600 Subject: Fix make release Missed during the rename from blubberd -> blubberoid. The shell needed to be changed to /bin/bash to accommodate the "{}" shell expansion which doesn't work with sh. Change-Id: I1743d58b17fe794b517e8d1d947ae29135bdc73d --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index decdf84..afb2119 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +SHELL := /bin/bash RELEASE_DIR ?= ./_release TARGETS ?= darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64 linux/ppc64le windows/amd64 plan9/amd64 @@ -20,7 +21,7 @@ install: release: gox -output="$(RELEASE_DIR)/{{.OS}}-{{.Arch}}/{{.Dir}}" -osarch='$(TARGETS)' -ldflags '$(GO_LDFLAGS)' $(GO_PACKAGES) cp LICENSE "$(RELEASE_DIR)" - for f in "$(RELEASE_DIR)"/*/{blubber,blubberd}; do \ + for f in "$(RELEASE_DIR)"/*/{blubber,blubberoid}; do \ shasum -a 256 "$${f}" | awk '{print $$1}' > "$${f}.sha256"; \ done -- cgit v1.2.1