python_configure.bzl: Find bash binary path through BAZEL_SH env var. (#19598)
authorYun Peng <pcloudy@google.com>
Tue, 29 May 2018 03:05:08 +0000 (05:05 +0200)
committerGunhan Gulsoy <gunan@google.com>
Tue, 29 May 2018 03:05:08 +0000 (20:05 -0700)
commit694892d4c0fba6bd4322e943f8b1483b36f1ae99
tree9cee4d0a3d509dace6446e31009b84bfeca5e89b
parenteadfa07685bfcc0c79d6ae8bf7bccae33eedff0d
python_configure.bzl: Find bash binary path through BAZEL_SH env var. (#19598)

* python_configure.bzl: Find bash binary path through BAZEL_SH env var.

This helps avoid invoking the wrong bash binary when "Bash on Ubuntu on Windows"
is installed.

Fixed https://github.com/tensorflow/tensorflow/issues/11735

* Readability modifications.
third_party/py/python_configure.bzl