This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: server update


A slightly more general form that will probably work for you,
this is what I use to relocate the repository for a CVS checkout:

$ echo sourceware.cygnus.com:/cvs/glibc > root
$ find libc -name Root -exec cp -f root {} \;
$ find libc -name Repository -print | xargs sh foo

and here is the script foo:

root=`cat root` || exit; rep=${root#*:}

for f; do

case "$f" in
/*|./*|../*) echo >&2 "$0 wants relative path from top of checkout"; exit 1;;
esac

echo > $f $rep/${f%/CVS/Repository}

done

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]