git: 805e2876ec20 - main - release.sh: Skip installing textproc/docproj when NODOC is set

Glen Barber gjb at FreeBSD.org
Wed Feb 3 00:04:45 UTC 2021


The branch main has been updated by gjb:

URL: https://cgit.FreeBSD.org/src/commit/?id=805e2876ec20f89e45f0f9f4164f31b6711ff0ea

commit 805e2876ec20f89e45f0f9f4164f31b6711ff0ea
Author:     Glen Barber <gjb at FreeBSD.org>
AuthorDate: 2021-02-03 00:04:11 +0000
Commit:     Glen Barber <gjb at FreeBSD.org>
CommitDate: 2021-02-03 00:04:11 +0000

    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")
---
 release/release.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)


More information about the dev-commits-src-all mailing list