diff options
author | Gunhan Gulsoy <gunan@google.com> | 2017-03-21 11:47:40 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-03-21 13:14:02 -0700 |
commit | 76f8da511d0f0dea8edcc1ef052ca0dd9f0b8f9e (patch) | |
tree | ab7c55ec8c491b5029665fcda7d8697420dfce82 /tensorflow/go/test.sh | |
parent | 5ba64f5fae1ca86bc3e16c52ff3d963aff7852f6 (diff) |
Update go binary check in go test.
Change: 150789399
Diffstat (limited to 'tensorflow/go/test.sh')
-rwxr-xr-x | tensorflow/go/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/go/test.sh b/tensorflow/go/test.sh index 8ef4afbd72..6083608f22 100755 --- a/tensorflow/go/test.sh +++ b/tensorflow/go/test.sh @@ -27,7 +27,7 @@ set -ex # Find the 'go' tool -if [[ ! -x "go" ]] +if [[ ! -x "go" && -z $(which go) ]] then if [[ -x "/usr/local/go/bin/go" ]] then |