check for build failure

This commit is contained in:
YellowJacketLinux 2024-10-15 17:34:57 -07:00
parent 4c05d00fa2
commit 4bbfa8f25f

View File

@ -64,9 +64,13 @@ patch -Np1 -i ../${PATCH1}
patch -Np1 -i ../${PATCH2}
make -f unix/Makefile generic
echo "As root user:"
echo
echo " cd unzip60"
echo " make prefix=/usr MANDIR=/usr/share/man/man1 -f unix/Makefile install"
echo
if [ $? -ne 0 ]; then
echo "Failed building Unzip60. Sorry."
exit 1
else
echo "As root user:"
echo
echo " cd unzip60"
echo " make prefix=/usr MANDIR=/usr/share/man/man1 -f unix/Makefile install"
echo
fi