git: 09f907eb0cc0 - stable/12 - release: fix git clone command if /usr/ports does not exist
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Nov 2021 21:59:48 UTC
The branch stable/12 has been updated by oh: URL: https://cgit.FreeBSD.org/src/commit/?id=09f907eb0cc009a83b47225bf18222237b34aa44 commit 09f907eb0cc009a83b47225bf18222237b34aa44 Author: Oskar Holmlund <oh@FreeBSD.org> AuthorDate: 2021-11-16 23:41:33 +0000 Commit: Oskar Holmlund <oh@FreeBSD.org> CommitDate: 2021-11-16 23:41:33 +0000 release: fix git clone command if /usr/ports does not exist Approved by: manu (mentor) Reviewed by: gjb Differential revision: https://reviews.freebsd.org/D32995 --- release/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/release.sh b/release/release.sh index 86e3592d068b..ef666689eca1 100755 --- a/release/release.sh +++ b/release/release.sh @@ -224,7 +224,7 @@ chroot_setup() { if [ -d "${CHROOTDIR}/usr/ports/.git" ]; then git -C ${CHROOTDIR}/usr/ports pull -q else - git -C ${CHROOTDIR}/usr/ports -b ${PORTBRANCH} clone + git clone -b ${PORTBRANCH} ${GITROOT}/${GITPORTS} ${CHROOTDIR}/usr/ports fi fi