From 994af955763da41b26930c2ec5faedbc83a6da97 Mon Sep 17 00:00:00 2001 From: liuhaitao Date: Fri, 15 May 2020 17:49:20 +0800 Subject: [PATCH] tools/mksymtab.sh: suppress 'find apps/bin' No such file or directory error msg Suppress apache nightly build find error msg as below: find: '/home/jenkins/jenkins-slave/workspace/NuttX-Nightly-Build/apps/bin': No such file or directory Signed-off-by: liuhaitao --- tools/mksymtab.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mksymtab.sh b/tools/mksymtab.sh index f8414d60f..c78fdea2f 100755 --- a/tools/mksymtab.sh +++ b/tools/mksymtab.sh @@ -63,7 +63,7 @@ rm -f $outfile # Extract all of the undefined symbols from the ELF files and create a # list of sorted, unique undefined variable names. -execlist=`find ${dir} -type f` +execlist=`find ${dir} -type f 2>/dev/null` if [ ! -z "${execlist}" ]; then for exec in ${execlist}; do nm $exec | fgrep ' U ' | sed -e "s/^[ ]*//g" | cut -d' ' -f2 >>_tmplist