Add quotes around ${TRAVIS}.

This commit is contained in:
brendandburns 2014-06-18 13:59:03 -07:00
parent 3124db63c6
commit e6b8555ba8

View File

@ -24,7 +24,7 @@ fi
# Travis continuous build uses a head go release that doesn't report # Travis continuous build uses a head go release that doesn't report
# a version number, so we skip this check on Travis. Its unnecessary # a version number, so we skip this check on Travis. Its unnecessary
# there anyway. # there anyway.
if [ ${TRAVIS} != "true" ]; then if [ "${TRAVIS}" != "true" ]; then
GO_VERSION=($(go version)) GO_VERSION=($(go version))
if [ ${GO_VERSION[2]} \< "go1.2" ]; then if [ ${GO_VERSION[2]} \< "go1.2" ]; then