From 6f6882802fd63ef1e368c01ef2a9417049e64272 Mon Sep 17 00:00:00 2001 From: "yi.wu" Date: Fri, 5 May 2017 07:59:59 +0800 Subject: [PATCH] delete paddle/dist before build --- paddle/scripts/docker/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paddle/scripts/docker/build.sh b/paddle/scripts/docker/build.sh index 4172063d923..be465ee2615 100644 --- a/paddle/scripts/docker/build.sh +++ b/paddle/scripts/docker/build.sh @@ -21,6 +21,8 @@ cd /paddle/build # build script will not fail if *.deb does not exist rm *.deb 2>/dev/null || true +# delete previous built whl packages +rm -rf /paddle/paddle/dist 2>/dev/null || true cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -- GitLab