Complain and exit the script if the 'make install' phase fails. Also,
there is no need to install any debug files.
This commit is contained in:
parent
c1bba4445c
commit
f576caac25
@ -783,7 +783,11 @@ EOF
|
||||
# XXX
|
||||
cp /boot/device.hints ${DESTDIR}/boot/device.hints
|
||||
# Assume we're already built
|
||||
make install DESTDIR=${DESTDIR} MK_MAN=no MK_INSTALL_AS_USER=yes
|
||||
make install DESTDIR=${DESTDIR} MK_MAN=no MK_INSTALL_AS_USER=yes WITHOUT_DEBUG_FILES=yes
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "make install failed"
|
||||
exit 1
|
||||
fi
|
||||
# Copy init, /bin/sh, minimal libraries and testing /etc/rc
|
||||
mkdir -p ${DESTDIR}/sbin ${DESTDIR}/bin \
|
||||
${DESTDIR}/lib ${DESTDIR}/libexec \
|
||||
|
Loading…
x
Reference in New Issue
Block a user