git: a87bab2feb1f - stable/12 - release: fix command to check out ports tree

Glen Barber gjb at FreeBSD.org
Wed May 12 15:51:03 UTC 2021


The branch stable/12 has been updated by gjb:

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

commit a87bab2feb1fc71dc2121ec2f4dd852748a1648c
Author:     Glen Barber <gjb at FreeBSD.org>
AuthorDate: 2021-05-12 15:12:34 +0000
Commit:     Glen Barber <gjb at FreeBSD.org>
CommitDate: 2021-05-12 15:12:34 +0000

    release: fix command to check out ports tree
    
    This is a direct commit to stable/12.
    
    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 47c64e796404..9ea6c5ee2cae 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -221,7 +221,7 @@ chroot_setup() {
 		${VCSCMD} ${FORCE_SRC_KEY} ${SRCBRANCH} ${CHROOTDIR}/usr/src
 	fi
 	if [ -z "${NOPORTS}" ] && [ -z "${PORTS_UPDATE_SKIP}" ]; then
-		${VCSCMD} ${PORTBRANCH} ${CHROOTDIR}/usr/ports
+		git -C ${CHROOTDIR}/usr/ports -b ${PORTBRANCH} clone
 	fi
 
 	if [ -z "${CHROOTBUILD_SKIP}" ]; then


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