summaryrefslogtreecommitdiff
blob: 4e5218e8649d940260e875c7f4fcca874515d255 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
#
# This script grabs a recent copy of the cvs repository
#
# AUTHOR: Rob Holland <robh@gentoo.org>
# VERSION: 0.1
# DATE: July 7, 2003
#
######################################################################

source ~/.bashrc

WORKDIR=/home/httpd
RSYNC_RSH=ssh

# create the directory if this is the first time this has run
mkdir -p ${WORKDIR}/cvsroot

# grab a recent copy of the cvs modules for viewcvs

rsync -a cvs.gentoo.org:/home/cvsroot/gentoo \
--exclude /home/cvsroot/gentoo/admin/ ${WORKDIR}/cvsroot/gentoo

rsync -a cvs.gentoo.org:/home/cvsroot/gentoo-x86 \
${WORKDIR}/cvsroot/gentoo-x86

rsync -a cvs.gentoo.org:/home/cvsroot/gentoo-src \
${WORKDIR}/cvsroot/gentoo-src

#done