aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprojects/tensorflow/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/tensorflow/build.sh b/projects/tensorflow/build.sh
index ca09f46dc..b59e4a58b 100755
--- a/projects/tensorflow/build.sh
+++ b/projects/tensorflow/build.sh
@@ -96,7 +96,7 @@ then
# code that Bazel creates. Not removing this would cause `rsync` to expand a
# symlink that ends up pointing to itself!
pushd bazel-tensorflow
- unlink external/org_tensorflow
+ [[ -e external/org_tensorflow ]] && unlink external/org_tensorflow
${RSYNC_CMD} external/ ${REMAP_PATH}
popd
fi