require Go 1.7
This commit is contained in:
parent
3fae3f70eb
commit
14cc6cedf7
4
build.sh
4
build.sh
@ -65,9 +65,9 @@ if [ "$GOVERS" != "devel" ]; then
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
GOVERS="${GOVERS:2}"
|
GOVERS="${GOVERS:2}"
|
||||||
EQRES=$(vercomp "$GOVERS" "1.5")
|
EQRES=$(vercomp "$GOVERS" "1.7")
|
||||||
if [ "$EQRES" == "-1" ]; then
|
if [ "$EQRES" == "-1" ]; then
|
||||||
echo "error: Go '1.5' or greater is required and '$GOVERS' is currently installed. Please upgrade Go at https://golang.org/dl to continue."
|
echo "error: Go '1.7' or greater is required and '$GOVERS' is currently installed. Please upgrade Go at https://golang.org/dl to continue."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user