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
This commit is contained in:
parent
c67f1a1ff8
commit
fed721c589
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47266
2 changed files with 5 additions and 5 deletions
|
@ -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.
|
||||
#
|
||||
|
|
|
@ -24,11 +24,6 @@ export WEBMAILTO
|
|||
export WITH_PORTS_GROWTH=YES
|
||||
export WITH_PRSTATS=YES
|
||||
|
||||
if [ ! -e "${PINDEX_OVERRIDE}" ]; then
|
||||
[ -e ${PORTSDIR}/INDEX-${INDEXNUM} ] && rm -f ${PORTSDIR}/INDEX-${INDEXNUM}
|
||||
make -C ${PORTSDIR} fetchindex
|
||||
fi
|
||||
|
||||
# Flags are ordered by more extensive to less
|
||||
if [ -e $FLAGDIR/fullbuild-clean.flag ]; then
|
||||
export BUILD_RELNOTES=YES
|
||||
|
|
Loading…
Reference in a new issue