From 38f1ef50753748d4abd6bf38ec8196bdcaa3878d Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Tue, 23 Nov 2021 19:14:08 +0800 Subject: [PATCH] test=document_fix (#37477) --- paddle/scripts/paddle_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index bf76e6dab5a..c238512ca8e 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -782,7 +782,7 @@ function generate_upstream_develop_api_spec() { ENABLE_MAKE_CLEAN="ON" rm -rf ${PADDLE_ROOT}/build/Makefile ${PADDLE_ROOT}/build/CMakeCache.txt cmake_change=`git diff --name-only upstream/$BRANCH | grep "cmake/external" || true` - if [ ${cmake_change} ];then + if [[ ${cmake_change} ]];then rm -rf ${PADDLE_ROOT}/build/third_party fi } -- GitLab