make/export: Fix mkexport silently failing on missing tools

This commit is contained in:
Gustavo Henrique Nihei 2020-08-13 10:06:47 -03:00 committed by Abdelatif Guettouche
parent ccf7154f05
commit c9748395f8

View file

@ -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