The branch main has been updated by gjb:

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

commit c0dbc49ab3f7e43a2972c932fcd2b2ed4d06448b
Author:     Glen Barber <[email protected]>
AuthorDate: 2021-05-12 16:08:59 +0000
Commit:     Glen Barber <[email protected]>
CommitDate: 2021-05-12 16:08:59 +0000

    release: fix ports checkout if /usr/ports does not exist
    
    Reported by:    Yasuhiro Kimura
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 release/release.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/release/release.sh b/release/release.sh
index a448361b86a6..75278a12daa6 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -213,6 +213,8 @@ chroot_setup() {
        if [ -z "${NOPORTS}" ] && [ -z "${PORTS_UPDATE_SKIP}" ]; then
                if [ -d "${CHROOTDIR}/usr/ports/.git" ]; then
                        git -C ${CHROOTDIR}/usr/ports pull -q
+               else
+                       ${VCSCMD} ${PORT} -b ${PORTBRANCH} 
${CHROOTDIR}/usr/ports
                fi
        fi
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to