aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortechknowlogick <matti@mdranta.net>2019-04-14 16:33:24 -0400
committerGitHub <noreply@github.com>2019-04-14 16:33:24 -0400
commit77ffb1563b3eaa887bb9957c1d97a5d44a54ed22 (patch)
treea3686f6235bdf77af0a1b5caef27f05b1a3618b2
parentde6527b3719329360fa993dc679a09c69e0e2ba5 (diff)
downloadgitea-77ffb1563b3eaa887bb9957c1d97a5d44a54ed22.tar.gz
gitea-77ffb1563b3eaa887bb9957c1d97a5d44a54ed22.zip
remove bash requirement in makefile (#6617)
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b3415aaaf5..5c160fd2c0 100644
--- a/Makefile
+++ b/Makefile
@@ -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: