Update this script to reflect the change from CVS to SVN. The code itself

has already been fixed, this just updates comments to match, and also
removes vestiges of the previous CVS-centric code that are no longer used.

Approved by:	bcr (mentor)
This commit is contained in:
Gavin Atkinson 2012-12-02 18:37:32 +00:00
parent b9e77047dd
commit 2e31b57355
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40248

View file

@ -2,7 +2,7 @@
# Copyright (c) 2001 Wolfram Schneider <wosch@FreeBSD.org>
# Copyright (c) 2001 Dima Dorfman <dd@FreeBSD.org>
#
# Update the FreeBSD web site from the CVS repository.
# Update the FreeBSD web site from the SVN repository.
#
#
# NOTE: Changes to this file is NOT automatically used for the web
@ -14,7 +14,7 @@
# Major variables:
#
# PATH - The search path as interpreted by the shell.
# CVSROOT - Path to the FreeBSD CVS repository.
# SVNROOT - Path to the FreeBSD SVN repository.
# BUILDDIR - Where the checked out copies of the files are stored.
# DESTDIR - Where the rendered copies should wind up.
# LOGFILE - Name of the log file to use (in $BUILDDIR).
@ -22,7 +22,7 @@
# INSTARGS - Arguments to pass to make(1) when installing.
# WEBMAILTO - Address to send mail to if the build fails.
#
# subtrees - List of directores in $BUILDDIR which are from CVS.
# subtrees - List of directores in $BUILDDIR which are from SVN.
#
# Variables which are in uppercase are derived from the environment
# unless they don't exist, in which case a value suitable for
@ -34,7 +34,7 @@
#
# 0 - success
# 1 - unknown failure
# 2 - failure in CVS operations
# 2 - failure in SVN operations
# 3 - failure in make operations
#
# $FreeBSD$
@ -44,7 +44,6 @@
# Default configuration.
#
DEFAULT_PATH=/bin:/usr/bin:/usr/local/bin;
DEFAULT_CVSROOT=/home/ncvs;
DEFAULT_SVNROOT=svn://svn.FreeBSD.org/doc/head
DEFAULT_BUILDDIR=/usr/local/www/build;
#DEFAULT_LOGDIR=/usr/local/www/build/log;
@ -61,7 +60,6 @@ DEFAULT_WEBMAILTO=freebsd-doc;
# Variable setup.
#
PATH=${PATH:-${DEFAULT_PATH}}; export PATH;
CVSROOT=${CVSROOT:-${DEFAULT_CVSROOT}}; export CVSROOT;
SVNROOT=${SVNROOT:-${DEFAULT_SVNROOT}}; export SVNROOT;
BUILDDIR=${BUILDDIR:-${DEFAULT_BUILDDIR}};
LOGDIR=${LOGDIR:-${DEFAULT_LOGDIR}};