release.sh: Skip installing textproc/docproj when NODOC is set

PR:		253192
Submitted by:	Yasuhiro Kimura
MFC after:	3 days
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Glen Barber 2021-02-02 19:04:11 -05:00
parent edc374e7c4
commit 805e2876ec

View File

@ -320,7 +320,7 @@ extra_chroot_setup() {
pkg clean -y
fi
fi
if [ -d ${CHROOTDIR}/usr/ports ]; then
if [ -z "${NODOC}" ] && [ -d ${CHROOTDIR}/usr/ports ]; then
# Trick the ports 'run-autotools-fixup' target to do the right
# thing.
_OSVERSION=$(chroot ${CHROOTDIR} /usr/bin/uname -U)