From 006322562dc55579bb9b36cc92cb72a31775fbd7 Mon Sep 17 00:00:00 2001 From: Joel Speed Date: Mon, 3 Jun 2019 14:58:39 +0100 Subject: [PATCH] Bump go version in configure to check for go 1.12 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 24790ab..fa80a9f 100755 --- a/configure +++ b/configure @@ -81,7 +81,7 @@ check_for() { check_go_version() { echo -n "Checking go version... " GO_VERSION=$(${tools[go]} version | ${tools[awk]} '{where = match($0, /[0-9]\.[0-9]+\.[0-9]*/); if (where != 0) print substr($0, RSTART, RLENGTH)}') - vercomp $GO_VERSION 1.11 + vercomp $GO_VERSION 1.12 case $? in 0) ;& 1) @@ -91,7 +91,7 @@ check_go_version() { ;; 2) printf "${RED}" - echo "$GO_VERSION < 1.11" + echo "$GO_VERSION < 1.12" exit 1 ;; esac