diff --git a/release/release.sh b/release/release.sh index fbd64bb8234..2f2a9da39ab 100755 --- a/release/release.sh +++ b/release/release.sh @@ -317,7 +317,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)