mirror of
https://github.com/deadw00d/AROS.git
synced 2026-01-12 16:58:30 +00:00
Added script to update the paths in CVS (probably useless now)
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@7210 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
This commit is contained in:
21
scripts/updatecvspath
Normal file
21
scripts/updatecvspath
Normal file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
#cvsserver=cvs.aros.org
|
||||
cvsserver=sbb.hepe.com
|
||||
rootpath="/home/cvs/aros"
|
||||
rep=AROS
|
||||
|
||||
user=$LOGNAME
|
||||
if [ -z "$user" ]; then
|
||||
echo "Can't figure out username"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for dir in `find . -name CVS -type d` ; do
|
||||
path=`dirname "$dir" | cut -c2-`
|
||||
root=":pserver:$user@$cvsserver:$rootpath"
|
||||
repository="$rootpath/$rep$path"
|
||||
echo "$root" > $dir/Root
|
||||
echo "$repository" > $dir/Repository
|
||||
echo $dir
|
||||
done
|
||||
Reference in New Issue
Block a user