aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/gitea/files/patch-Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/gitea/files/patch-Makefile b/www/gitea/files/patch-Makefile
index ead1c6269b0c..dd9f92d363d4 100644
--- a/www/gitea/files/patch-Makefile
+++ b/www/gitea/files/patch-Makefile
@@ -5,7 +5,7 @@
.PHONY: go-check
go-check:
- $(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell go version | grep -Eo '[0-9]+\.?[0-9]+?\.?[0-9]?[[:space:]]' | tr '.' ' ');))
-+ $(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell go version | bsdgrep -Eo 'go[0-9\.]+' | tr -d go | tr '.' ' ');))
++ $(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell go version | grep -Eo 'go[0-9\.]+' | tr -d go | tr '.' ' ');))
@if [ "$(GO_VERSION)" -lt "001011000" ]; then \
echo "Gitea requires Go 1.11.0 or greater to build. You can get it at https://golang.org/dl/"; \
exit 1; \