mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
make/export: Fix mkexport silently failing on missing tools
This commit is contained in:
committed by
Abdelatif Guettouche
parent
ccf7154f05
commit
c9748395f8
+2
-2
@@ -445,10 +445,10 @@ if [ -e "${APPDIR}/Makefile" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "X${TGZ}" = "Xy" ]; then
|
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"
|
gzip -f "${EXPORTSUBDIR}.tar"
|
||||||
else
|
else
|
||||||
zip -r "${EXPORTSUBDIR}.zip" "${EXPORTSUBDIR}" 1>/dev/null 2>&1
|
zip -r "${EXPORTSUBDIR}.zip" "${EXPORTSUBDIR}" 1>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clean up after ourselves
|
# Clean up after ourselves
|
||||||
|
|||||||
Reference in New Issue
Block a user