Don't dereference fssm when it's NULL.
[tangerine.git] / scripts / updatecvspath
blobb97bc22c6f385468de7bffb69ef08171ed79aba0
1 #!/bin/sh
3 #cvsserver=cvs.aros.org
4 cvsserver=sbb.hepe.com
5 rootpath="/home/cvs/aros"
6 rep=AROS
8 user=$LOGNAME
9 if [ -z "$user" ]; then
10 echo "Can't figure out username"
11 exit 1
14 for dir in `find . -name CVS -type d` ; do
15 path=`dirname "$dir" | cut -c2-`
16 root=":pserver:$user@$cvsserver:$rootpath"
17 repository="$rootpath/$rep$path"
18 echo "$root" > $dir/Root
19 echo "$repository" > $dir/Repository
20 echo $dir
21 done