aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2021-02-03 00:04:11 +0000
committerGlen Barber <gjb@FreeBSD.org>2021-02-03 00:04:11 +0000
commit805e2876ec20f89e45f0f9f4164f31b6711ff0ea (patch)
treed023a6dd022cc982745508bfeb9c84a1a3b5dfd7 /release
parentedc374e7c41d3d9e28e0b3a76bc9ed021d7db571 (diff)
downloadsrc-805e2876ec20f89e45f0f9f4164f31b6711ff0ea.tar.gz
src-805e2876ec20f89e45f0f9f4164f31b6711ff0ea.zip
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")
Diffstat (limited to 'release')
-rwxr-xr-xrelease/release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/release.sh b/release/release.sh
index 372f69177f7e..4020c27feaa0 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -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)