mirror of
https://github.com/YellowJacketLinux/lfs-rpmify.git
synced 2025-01-23 14:32:11 +08:00
check for build failure
This commit is contained in:
parent
4c05d00fa2
commit
4bbfa8f25f
16
01-unzip.sh
16
01-unzip.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user