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/08/13 15:13:44 UTC

[incubator-nuttx] branch master updated: make/export: Fix mkexport silently failing on missing tools

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


The following commit(s) were added to refs/heads/master by this push:
     new c974839  make/export: Fix mkexport silently failing on missing tools
c974839 is described below

commit c9748395f880ba27dfe80ae5e6aed037441ff716
Author: Gustavo Henrique Nihei <gh...@certi.org.br>
AuthorDate: Thu Aug 13 10:06:47 2020 -0300

    make/export: Fix mkexport silently failing on missing tools
---
 tools/mkexport.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/mkexport.sh b/tools/mkexport.sh
index 72a4c7a..e3b54a8 100755
--- a/tools/mkexport.sh
+++ b/tools/mkexport.sh
@@ -445,10 +445,10 @@ if [ -e "${APPDIR}/Makefile" ]; then
 fi
 
 if [ "X${TGZ}" = "Xy" ]; then
-  tar cvf "${EXPORTSUBDIR}.tar" "${EXPORTSUBDIR}" 1>/dev/null 2>&1
+  tar cvf "${EXPORTSUBDIR}.tar" "${EXPORTSUBDIR}" 1>/dev/null
   gzip -f "${EXPORTSUBDIR}.tar"
 else
-  zip -r "${EXPORTSUBDIR}.zip" "${EXPORTSUBDIR}" 1>/dev/null 2>&1
+  zip -r "${EXPORTSUBDIR}.zip" "${EXPORTSUBDIR}" 1>/dev/null
 fi
 
 # Clean up after ourselves