Skip to content

Commit

Permalink
Python-3.7.6: remove force by rm
Browse files Browse the repository at this point in the history
  • Loading branch information
david committed Mar 26, 2020
1 parent 8ec8ae4 commit d0c427b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python-3.7.6-0.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -401,14 +401,14 @@ fi
//tensorflow:install_headers \
//tensorflow/tools/pip_package:build_pip_package

test -d tensorflow-pip && rm -rf tensorflow-pip
test -d tensorflow-pip && rm -r tensorflow-pip
mkdir tensorflow-pip
./bazel-bin/tensorflow/tools/pip_package/build_pip_package --src ${BUILDDIR}/tensorflow-pip
cd ${BUILDDIR}
#remove symlinks into TMPDIR
test -e tensorflow-pip.tar && rm tensorflow-pip.tar
tar -chf tensorflow-pip.tar tensorflow-pip
test -d tensorflow-pip && rm -rf tensorflow-pip
test -d tensorflow-pip && rm -r tensorflow-pip

tar -xf tensorflow-pip.tar
cd ${BUILDDIR}/tensorflow-pip
Expand Down

0 comments on commit d0c427b

Please sign in to comment.