mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
release: update workaround during transition to git
PR: 253181
Submitted by: Yasuhiro Kimura
Sponsored by: Rubicon Communications, LLC ("Netgate")
(cherry picked from commit 70dfc101b6)
This commit is contained in:
parent
1fb5b28604
commit
06eda1d83c
1 changed files with 5 additions and 2 deletions
|
|
@ -246,8 +246,11 @@ chroot_setup() {
|
|||
fi
|
||||
fi
|
||||
if [ -z "${NOPORTS}" ] && [ -z "${PORTS_UPDATE_SKIP}" ]; then
|
||||
if [ -d "${CHROOTDIR}/usr/ports/.git" ]; then
|
||||
git -C ${CHROOTDIR}/usr/ports pull -q
|
||||
# if [ -d "${CHROOTDIR}/usr/ports/.git" ]; then
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue