ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/misc/scripts/shell/fullcvsupdate.sh
Revision: 1.3
Committed: Sun Aug 1 10:39:52 2004 UTC (19 years, 11 months ago) by tdb
Content type: application/x-sh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +20 -16 lines
Log Message:
Catch a lot of old URL's and update them. Also remove a couple of old files
that aren't used.

File Contents

# Content
1 #!/bin/sh
2
3 # cvs path
4 CVS="/usr/bin/cvs"
5
6 # cvs root
7 CVSROOT="/cvs/i-scream"
8
9 # cvs checkout dir
10 CVSCODIR="/tmp/i-scream/cvstmp"
11
12 if [ "$1" = "" ]; then MODULES=`ls ${CVSROOT}`; else MODULES=$@; fi
13
14 if [ ! -d ${CVSCODIR} ]; then
15 mkdir -p ${CVSCODIR}
16 chmod 700 ${CVSCODIR}
17 fi
18
19 cd ${CVSCODIR}
20
21 for MODULE in ${MODULES}; do
22
23 if [ ! -d ${MODULE} ]; then
24 ${CVS} -d ${CVSROOT} -Q checkout ${MODULE}
25 else
26 ${CVS} -d ${CVSROOT} -Q update -dP ${MODULE}
27 fi
28
29 done
30
31 #${CVS} -d ${CVSROOT} -Q update -d ${MODULES}
32 #cd /tmp && rm -Rf ${MODULES}