We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a924a90 commit 858aebcCopy full SHA for 858aebc
Makefile
@@ -137,7 +137,7 @@ help:
137
138
.PHONY: go-check
139
go-check:
140
- $(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell go version | grep -Eo '[0-9]+\.?[0-9]+?\.?[0-9]?\s' | tr '.' ' ');))
+ $(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell go version | grep -Eo '[0-9]+\.?[0-9]+?\.?[0-9]?[[:space:]]' | tr '.' ' ');))
141
@if [ "$(GO_VERSION)" -lt "001011000" ]; then \
142
echo "Gitea requires Go 1.11.0 or greater to build. You can get it at https://golang.org/dl/"; \
143
exit 1; \
0 commit comments