You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/07/16 14:41:02 UTC

[incubator-nuttx] 01/02: sethost.sh: always print logs to ease identify problem in configure phase

This is an automated email from the ASF dual-hosted git repository.

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

commit 67589adfb7118abf25aa415c6cbe9e549a1fbce1
Author: liuhaitao <li...@xiaomi.com>
AuthorDate: Thu Jul 16 20:19:44 2020 +0800

    sethost.sh: always print logs to ease identify problem in configure phase
    
    Signed-off-by: liuhaitao <li...@xiaomi.com>
---
 tools/sethost.sh | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/tools/sethost.sh b/tools/sethost.sh
index c99d8db..93d159e 100755
--- a/tools/sethost.sh
+++ b/tools/sethost.sh
@@ -182,8 +182,4 @@ fi
 
 echo "  Refreshing..."
 
-if grep -q "V=1" <<< "$*" ; then
-  make olddefconfig $* || { echo "ERROR: failed to refresh"; exit 1; }
-else
-  make olddefconfig $* 1>/dev/null || { echo "ERROR: failed to refresh"; exit 1; }
-fi
+make olddefconfig $* || { echo "ERROR: failed to refresh"; exit 1; }