diff options
author | zeripath <art27@cantab.net> | 2020-02-27 18:03:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-27 18:03:21 +0000 |
commit | 858aebc2d8561803c4dc3f8a427ca82662ee96c7 (patch) | |
tree | b18135c72f681fa91c93d47cc2c4f52c3a653bf2 | |
parent | a924a90349a78ebe8e7eb560e435a7ddc1de9b84 (diff) | |
download | gitea-858aebc2d8561803c4dc3f8a427ca82662ee96c7.tar.gz gitea-858aebc2d8561803c4dc3f8a427ca82662ee96c7.zip |
Use [:space:] instead of \s (#10508)
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ help: .PHONY: go-check go-check: - $(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 '.' ' ');)) @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; \ |