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} patch -Np1 -i ../${PATCH2}
make -f unix/Makefile generic make -f unix/Makefile generic
if [ $? -ne 0 ]; then
echo "As root user:" echo "Failed building Unzip60. Sorry."
echo exit 1
echo " cd unzip60" else
echo " make prefix=/usr MANDIR=/usr/share/man/man1 -f unix/Makefile install" echo "As root user:"
echo echo
echo " cd unzip60"
echo " make prefix=/usr MANDIR=/usr/share/man/man1 -f unix/Makefile install"
echo
fi