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 <liuhaitao@xiaomi.com>
This commit is contained in:
parent
79e544f032
commit
994af95576
@ -63,7 +63,7 @@ rm -f $outfile
|
|||||||
# Extract all of the undefined symbols from the ELF files and create a
|
# Extract all of the undefined symbols from the ELF files and create a
|
||||||
# list of sorted, unique undefined variable names.
|
# list of sorted, unique undefined variable names.
|
||||||
|
|
||||||
execlist=`find ${dir} -type f`
|
execlist=`find ${dir} -type f 2>/dev/null`
|
||||||
if [ ! -z "${execlist}" ]; then
|
if [ ! -z "${execlist}" ]; then
|
||||||
for exec in ${execlist}; do
|
for exec in ${execlist}; do
|
||||||
nm $exec | fgrep ' U ' | sed -e "s/^[ ]*//g" | cut -d' ' -f2 >>_tmplist
|
nm $exec | fgrep ' U ' | sed -e "s/^[ ]*//g" | cut -d' ' -f2 >>_tmplist
|
||||||
|
Loading…
Reference in New Issue
Block a user