From fed721c5897b6128ab9a5e53ed7362822091ae9e Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Tue, 18 Aug 2015 21:05:16 +0000 Subject: Move the ports INDEX fetch functionality from webupdate.wrapper to webupdate to fix the weekly clean build failures. When fullbuild-clean.flag exists, all of the trees are removed and checked out cleanly. This happens after the INDEX-${INDEXNUM} is fetched, so when the build enters the htdocs/ports/ directory, the INDEX-${INDEXNUM} no longer exists. Approved by: doceng (implicit) Sponsored by: The FreeBSD Foundation --- share/tools/webupdate | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'share/tools/webupdate') diff --git a/share/tools/webupdate b/share/tools/webupdate index 31de593f0e..96cfb42454 100755 --- a/share/tools/webupdate +++ b/share/tools/webupdate @@ -151,6 +151,11 @@ else #svn update --accept theirs-full relnotes/man4 >> $LOGFILE 2>&1 || exit 2; fi +if [ ! -e "${PINDEX_OVERRIDE}" ]; then + [ -e ${PORTSDIR}/INDEX-${INDEXNUM} ] && rm -f ${PORTSDIR}/INDEX-${INDEXNUM} + make -C ${PORTSDIR} fetchindex +fi + # # Build the web site. # -- cgit v1.3