Checkout release notes for FreeBSD 6, 7, and 8 instead of older releases.

This commit is contained in:
Simon L. B. Nielsen 2008-10-05 11:50:30 +00:00
parent 2a306c5297
commit b3a07675fb
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=33009

View file

@ -81,7 +81,7 @@ WEBMAILTO=${WEBMAILTO:-${DEFAULT_WEBMAILTO}};
# assumes that the directory right below that is the language code.
# This works fine if all the languages are in a directory called
# 'doc', and not at all if they aren't.
subtrees='www doc relnotes/doc relnotes/man4 relnotes5/doc relnotes5/man4 relnotes4/doc relnotes4/man4';
subtrees='www doc relnotes/doc relnotes/man4 relnotes6/doc relnotes6/man4 relnotes7/doc relnotes7/man4';
#
# Update the checked out copies. Check out new copies every Sunday or
@ -122,23 +122,17 @@ if [ $cond ]; then
cvs -qR checkout -Pd relnotes/man4 src/share/man/man4 >> \
$LOGFILE 2>&1 || exit 2;
test -d relnotes7 || mkdir relnotes7;
cvs -qR checkout -Pd relnotes7/doc -rRELENG_7 src/release/doc >> \
$LOGFILE 2>&1 || exit 2;
cvs -qR checkout -Pd relnotes7/man4 -rRELENG_7 src/share/man/man4 >> \
$LOGFILE 2>&1 || exit 2;
test -d relnotes6 || mkdir relnotes6;
cvs -qR checkout -Pd relnotes6/doc -rRELENG_6 src/release/doc >> \
$LOGFILE 2>&1 || exit 2;
cvs -qR checkout -Pd relnotes6/man4 -rRELENG_6 src/share/man/man4 >> \
$LOGFILE 2>&1 || exit 2;
test -d relnotes5 || mkdir relnotes5;
cvs -qR checkout -Pd relnotes5/doc -rRELENG_5 src/release/doc >> \
$LOGFILE 2>&1 || exit 2;
cvs -qR checkout -Pd relnotes5/man4 -rRELENG_5 src/share/man/man4 >> \
$LOGFILE 2>&1 || exit 2;
test -d relnotes4 || mkdir relnotes4;
cvs -qR checkout -Pd relnotes4/doc -rRELENG_4 src/release/doc >> \
$LOGFILE 2>&1 || exit 2;
cvs -qR checkout -Pd relnotes4/man4 -rRELENG_4 src/share/man/man4 >> \
$LOGFILE 2>&1 || exit 2;
else
cvs -qR update -dP $subtrees >> $LOGFILE 2>&1 || exit 2;
fi