release: follow-up to previous commit to use Git for the ports tree
MFC after: immediately (pending re approval) Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
3f25cfea55
commit
fb6e261c20
@ -222,16 +222,8 @@ chroot_setup() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -z "${NOPORTS}" ] && [ -z "${PORTS_UPDATE_SKIP}" ]; then
|
if [ -z "${NOPORTS}" ] && [ -z "${PORTS_UPDATE_SKIP}" ]; then
|
||||||
# if [ -d "${CHROOTDIR}/usr/ports/.git" ]; then
|
if [ -d "${CHROOTDIR}/usr/ports/.git" ]; then
|
||||||
# git -C ${CHROOTDIR}/usr/ports pull -q
|
git -C ${CHROOTDIR}/usr/ports pull -q
|
||||||
# XXX: Workaround for the overlap in the Git conversion timeframe.
|
|
||||||
if [ -d "${CHROOTDIR}/usr/ports/.svn" ]; then
|
|
||||||
${SVNCMD} update ${CHROOTDIR}/usr/ports
|
|
||||||
else
|
|
||||||
#${VCSCMD} ${PORT} -b ${PORTBRANCH} ${CHROOTDIR}/usr/ports
|
|
||||||
# XXX: Workaround for the overlap in the Git
|
|
||||||
# conversion timeframe.
|
|
||||||
${SVNCMD} co ${PORT}/${PORTBRANCH} ${CHROOTDIR}/usr/ports
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user