message: Insert IfThenChange check to sync all common*.sh* files.
diff: @@ -39,8 +39,10 @@ function readable_run {
  echo "Command completed successfully at $(date)"
  set -x
  }
  -# LINT.ThenChange()
  +# LINT.ThenChange(
  +# ) # common_.sh
  +# LINT.IfChange
  # Redirect bazel output dir b/73748835
  function set_bazel_outdir {
  mkdir -p /tmpfs/bazel_output
  @@ -79,7 +81,10 @@ function update_bazel_linux {
  set_bazel_outdir
  }
  +# LINT.ThenChange(
  +# //tensorflow_estimator/google/kokoro/common.sh)
  +# LINT.IfChange
  # Install the given bazel version on macos
  function update_bazel_macos {
  if [[ -z "$1" ]]; then
  @@ -190,6 +195,12 @@ function install_macos_pip_deps {
  shift
  done
  + # High Sierra pip for Python2.7 installs don't work as expected.
  + if [[ "${PIP_CMD}" == "pip" ]]; then
  + PIP_CMD="python -m pip"
  + SUDO_CMD="sudo -H "
  + fi
  +
  # TODO(aselle): Change all these to be --user instead of sudo.
  ${SUDO_CMD} ${PIP_CMD} install --upgrade setuptools==39.1.0
  ${SUDO_CMD} ${PIP_CMD} install keras_applications==1.0.8 --no-deps
  @@ -202,9 +213,9 @@ function install_macos_pip_deps {
  ${SUDO_CMD} ${PIP_CMD} install h5py==2.8.0
  ${SUDO_CMD} ${PIP_CMD} install --upgrade grpcio
  ${SUDO_CMD} ${PIP_CMD} install --upgrade tb-nightly
  - ${PIP_CMD} install --upgrade attrs
  - ${PIP_CMD} install --upgrade tf-estimator-nightly
  - ${PIP_CMD} install --upgrade "future>=0.17.1"
  + ${PIP_CMD} install --user --upgrade attrs
  + ${PIP_CMD} install --user --upgrade tf-estimator-nightly
  + ${PIP_CMD} install --user --upgrade "future>=0.17.1"
  }
  function maybe_skip_v1 {
  @@ -253,3 +264,5 @@ function copy_to_new_project_name {
  popd
  rm -rf "${TMP_DIR}"
  }
  +# LINT.ThenChange(
  +# ) # common.sh
  