From c9748395f880ba27dfe80ae5e6aed037441ff716 Mon Sep 17 00:00:00 2001 From: Gustavo Henrique Nihei Date: Thu, 13 Aug 2020 10:06:47 -0300 Subject: [PATCH] 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 72a4c7a8f5..e3b54a8f76 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