Debian Codegraph @

batch/make/regenerate_fingerprint

raw
1 #! /bin/sh
2 # run this script to regerate CVS checkout from a fingerprint
3
4 echo -n "Enter you SF username (hit return for anonymous access) :"
5 U=`line`
6 if test -z "$U"; then
7 CVSROOT=:pserver:[email protected]:/cvsroot/armagetronad
8 else
9 CVSROOT=:ext:[email protected]:/cvsroot/armagetronad
10 fi
11 export CVSROOT
12
13 # generate CVS root files
14 echo $CVSROOT > Root
15 find . -name CVS -exec cp Root \{\} \;
16 rm Root
17
18 for f in *; do if test -d $f; then
19 pushd $f
20 cvs -q update -P -d -r BASE
21 popd
22 fi; done
23