Skip to content

Commit 73a360b

Browse files
tianshuo78520aluotao1
authored andcommitted
Cmakelists fix (PaddlePaddle#17018)
* fix cmakelist detecting problems
1 parent a770ce0 commit 73a360b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/scripts/paddle_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ function assert_api_spec_approvals() {
466466
"python/paddle/fluid/compiler.py"
467467
"paddle/fluid/operators/distributed/send_recv.proto.in")
468468
for API_FILE in ${API_FILES[*]}; do
469-
API_CHANGE=`git diff --name-only upstream/$BRANCH | grep "${API_FILE}" | grep -v "/CMakeList.txt" || true`
469+
API_CHANGE=`git diff --name-only upstream/$BRANCH | grep "${API_FILE}" | grep -v "/CMakeLists.txt" || true`
470470
echo "checking ${API_FILE} change, PR: ${GIT_PR_ID}, changes: ${API_CHANGE}"
471471
if [ "${API_CHANGE}" ] && [ "${GIT_PR_ID}" != "" ]; then
472472
# NOTE: per_page=10000 should be ok for all cases, a PR review > 10000 is not human readable.

0 commit comments

Comments
 (0)