mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-14 20:37:06 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346652
|
@ -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…
Reference in a new issue