Fix ordering of the 'pull' subcommand and the '-q' flag.
Pointyhat to: gjb (myself) Sponsored by: Rubicon Communications, LLC (netgate.com)
This commit is contained in:
parent
0e06b4b8a6
commit
0f752f681a
@ -221,21 +221,21 @@ chroot_setup() {
|
||||
|
||||
if [ -z "${SRC_UPDATE_SKIP}" ]; then
|
||||
if [ -d "${CHROOTDIR}/usr/src/.git" ]; then
|
||||
git -C ${CHROOTDIR}/usr/src -q pull
|
||||
git -C ${CHROOTDIR}/usr/src pull -q
|
||||
else
|
||||
${VCSCMD} ${SRC} -b ${SRCBRANCH} ${CHROOTDIR}/usr/src
|
||||
fi
|
||||
fi
|
||||
if [ -z "${NODOC}" ] && [ -z "${DOC_UPDATE_SKIP}" ]; then
|
||||
if [ -d "${CHROOTDIR}/usr/doc/.git" ]; then
|
||||
git -C ${CHROOTDIR}/usr/doc -q pull
|
||||
git -C ${CHROOTDIR}/usr/doc pull -q
|
||||
else
|
||||
${VCSCMD} ${DOC} -b ${DOCBRANCH} ${CHROOTDIR}/usr/doc
|
||||
fi
|
||||
fi
|
||||
if [ -z "${NOPORTS}" ] && [ -z "${PORTS_UPDATE_SKIP}" ]; then
|
||||
if [ -d "${CHROOTDIR}/usr/ports/.git" ]; then
|
||||
git -C ${CHROOTDIR}/usr/ports -q pull
|
||||
git -C ${CHROOTDIR}/usr/ports pull -q
|
||||
else
|
||||
${VCSCMD} ${PORT} -b ${PORTBRANCH} ${CHROOTDIR}/usr/ports
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user