!179 Add prune option for find command

Merge pull request !179 from huangyu/master
This commit is contained in:
openharmony_ci 2022-07-18 10:19:04 +00:00 committed by Gitee
commit f88dfff447
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -18,7 +18,7 @@ set -e
SRC_FULL_PATH="$(realpath ${0})"
SRC_DIR="$(dirname ${SRC_FULL_PATH})"
ASM_DEF_SRC=$(find ./ -name *asm_defines_def.o)
ASM_DEF_SRC=$(find ./ -name *asm_defines_def.o -prune)
echo "ASM_DEF_SRC: ${ASM_DEF_SRC}"