Add GITARGS to dobuild.sh

When local.conf exists, GITARGS can be used to append checkout-specific
arguments to git.

Sponsored by:	Rubicon Communications, LLC (netgate.com)
This commit is contained in:
Glen Barber 2021-01-04 13:37:07 -05:00
parent 2a60f7e751
commit 3e766ab07c

View file

@ -61,7 +61,7 @@ if [ -z "${NOCLEAN}" ]; then
rm -Rf doc out 2>/dev/null
echo "===> Check out the new doc"
git clone -b main ${DOCGIT} doc || exit 2
git clone ${GITARGS} -b main ${DOCGIT} doc || exit 2
fi
cd $BUILDDIR/doc || exit 1