diff --git a/tensorflow/tools/ci_build/ci_sanity.sh b/tensorflow/tools/ci_build/ci_sanity.sh index 12cfd188a56..36be875c2d4 100755 --- a/tensorflow/tools/ci_build/ci_sanity.sh +++ b/tensorflow/tools/ci_build/ci_sanity.sh @@ -130,7 +130,7 @@ do_pylint() { echo "check whether pylint is available or not." echo "" ${PYLINT_BIN} --version - if [ $? -eq 0 ] + if [[ $? -eq 0 ]] then echo "" echo "pylint available, proceeding with pylint sanity check."