Fix tensorflow/build.sh after TF commit 44000ad64a (#2528)

We are changing the location of the maximum/minimum bazel version in the
configure.py script so we need to update the way we're looking for the
version to install.

Breaking commit: 44000ad64a
This commit is contained in:
Mihai Maruseac 2019-06-18 09:51:05 -07:00 committed by jonathanmetzman
parent 0cba0117f3
commit f16a6781fa
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@
# First, determine the latest Bazel we can support
BAZEL_VERSION=$(
grep 'current_bazel_version =' configure.py | \
cut -d, -f2 | cut -d\' -f2 | tr -d '[:space:]'
grep '_TF_MAX_BAZEL_VERSION =' configure.py | \
cut -d\' -f2 | tr -d '[:space:]'
)
if [ -z ${BAZEL_VERSION} ]; then
echo "Couldn't find a valid bazel version in configure.py script"