mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 08:38:38 +08:00
make/export: Fix mkexport silently failing on missing tools
This commit is contained in:
parent
ccf7154f05
commit
c9748395f8
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue