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 50f2e90 commit 4c40aa5Copy full SHA for 4c40aa5
Makefile
@@ -123,7 +123,7 @@ help:
123
124
.PHONY: go-check
125
go-check:
126
- $(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 '.' ' ');))
127
@if [ "$(GO_VERSION)" -lt "001011000" ]; then \
128
echo "Gitea requires Go 1.11.0 or greater to build. You can get it at https://golang.org/dl/"; \
129
exit 1; \
0 commit comments