nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gn...@apache.org
Subject [incubator-nuttx-apps] branch master updated: tools/mksymtab.sh: suppress 'find apps/bin' No such file or directory error msg
Date Fri, 15 May 2020 13:29:44 GMT
This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 994af95  tools/mksymtab.sh: suppress 'find apps/bin' No such file or directory error
msg
994af95 is described below

commit 994af955763da41b26930c2ec5faedbc83a6da97
Author: liuhaitao <liuhaitao@xiaomi.com>
AuthorDate: Fri May 15 17:49:20 2020 +0800

    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>
---
 tools/mksymtab.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/mksymtab.sh b/tools/mksymtab.sh
index f8414d6..c78fdea 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


Mime
View raw message