1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-15 00:15:00 +02:00

Fix CI after make introduction

This commit is contained in:
Joel Speed
2019-01-04 11:07:45 +00:00
parent 372ecd0cf8
commit eded761cc1
2 changed files with 3 additions and 2 deletions

4
configure vendored
View File

@ -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.10
vercomp $GO_VERSION 1.9
case $? in
0) ;&
1)
@ -91,7 +91,7 @@ check_go_version() {
;;
2)
printf "${RED}"
echo "$GO_VERSION < 1.10"
echo "$GO_VERSION < 1.9"
exit 1
;;
esac