diff options
author | Tyler Cipriani <tcipriani@wikimedia.org> | 2018-09-13 10:59:02 -0600 |
---|---|---|
committer | Tyler Cipriani <tcipriani@wikimedia.org> | 2018-09-13 11:02:23 -0600 |
commit | fa5d440f4fd50ab9f91bd9eeb134037b7341fa65 (patch) | |
tree | 49f2da5044bba379cf4278d767894b78f2d349fa | |
parent | 9bfa2dd194c38de06cd3cf02afb9f9e668f782ef (diff) | |
download | blubber-fa5d440f4fd50ab9f91bd9eeb134037b7341fa65.tar.gz |
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
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |