Merge pull request #3968 from sjpotter/fix-build

remove bash'ism
This commit is contained in:
Xiang Li 2015-12-07 21:17:01 -08:00
commit 9220a47c30

2
build
View File

@ -16,7 +16,7 @@ GIT_SHA=`git rev-parse --short HEAD || echo "GitNotFound"`
val=$(go version)
# if 'go version' contains string 'devel', it assumes the go tip branch,
# which is greater than go 1.5+.
if [[ $val == *"devel"* ]]
if test "${val#*devel}" != "$val"
then
LINK_OPERATOR="="
else