aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/pip_package/build_pip_package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/tools/pip_package/build_pip_package.sh')
-rwxr-xr-xtensorflow/tools/pip_package/build_pip_package.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tensorflow/tools/pip_package/build_pip_package.sh b/tensorflow/tools/pip_package/build_pip_package.sh
index feb3114bde..8f0cf8c3d1 100755
--- a/tensorflow/tools/pip_package/build_pip_package.sh
+++ b/tensorflow/tools/pip_package/build_pip_package.sh
@@ -162,7 +162,9 @@ function main() {
# Before we leave the top-level directory, make sure we know how to
# call python.
- source tools/python_bin_path.sh
+ if [[ -e tools/python_bin_path.sh ]]; then
+ source tools/python_bin_path.sh
+ fi
pushd ${TMPDIR}
rm -f MANIFEST