aboutsummaryrefslogtreecommitdiffhomepage
path: root/util/python
diff options
context:
space:
mode:
authorGravatar Martin Wicke <wicke@google.com>2017-03-23 12:31:16 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-03-23 13:44:29 -0700
commitbc456e361d49d1d89a74b80060c70efb51fd7d87 (patch)
tree825e04287f1e2d2ac098ca3f0fdd4e361aefd68c /util/python
parent8ca071456537e6c96ae8896c2a20b1f08b0e59d3 (diff)
Merge changes from github.
Change: 151046259
Diffstat (limited to 'util/python')
-rwxr-xr-xutil/python/python_config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/python/python_config.sh b/util/python/python_config.sh
index 789c4b35b3..4b18bf3578 100755
--- a/util/python/python_config.sh
+++ b/util/python/python_config.sh
@@ -181,7 +181,7 @@ function setup_python {
# Write tools/bazel.rc
echo "# Autogenerated by configure: DO NOT EDIT" > tools/bazel.rc
sed -e "s/\$PYTHON_MAJOR_VERSION/$python_major_version/g" \
- -e "s[\$PYTHON_BINARY[\"$PYTHON_BIN_PATH\"[g" \
+ -e "s|\$PYTHON_BINARY|\"$PYTHON_BIN_PATH\"|g" \
tools/bazel.rc.template >> tools/bazel.rc
# Write tools/python_bin_path.sh
echo "export PYTHON_BIN_PATH=\"$PYTHON_BIN_PATH\"" > tools/python_bin_path.sh