summaryrefslogtreecommitdiff
path: root/share/tools/webupdate
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-08-18 21:05:16 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-08-18 21:05:16 +0000
commitfed721c5897b6128ab9a5e53ed7362822091ae9e (patch)
treed3ce59a99f0e54f36fd4f6442dbbfcfc4c6276f4 /share/tools/webupdate
parentc67f1a1ff8154993c60904d735a231bba060d328 (diff)
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
Notes
svn path=/head/; revision=47266
Diffstat (limited to 'share/tools/webupdate')
-rwxr-xr-xshare/tools/webupdate5
1 files changed, 5 insertions, 0 deletions
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.
#