remove bash requirement in makefile (#6617)

This commit is contained in:
techknowlogick 2019-04-14 16:33:24 -04:00 committed by GitHub
parent de6527b371
commit 77ffb1563b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,6 @@ export GO111MODULE=off
GO ?= go
SED_INPLACE := sed -i
SHELL ?= bash
SHASUM ?= shasum -a 256
export PATH := $($(GO) env GOPATH)/bin:$(PATH)
@ -363,7 +362,7 @@ release-copy:
.PHONY: release-check
release-check:
cd $(DIST)/release/; for file in `find . -type f -name "*"`; do $(SHASUM) $${file:2} > $${file}.sha256; done;
cd $(DIST)/release/; for file in `find . -type f -name "*"`; do echo "checksumming $${file}" && $(SHASUM) `echo $${file} | sed 's/^..//'` > $${file}.sha256; done;
.PHONY: release-compress
release-compress: