This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: retrieving glibc sources by date


On Sun, 2004-07-04 21:25:13 -0700, Dan Kegel <dank@kegel.com>
wrote in message <40E8D829.50702@kegel.com>:

> #!/bin/sh
> # Script to retrieve glibc source via CVS as of a certain date
> # Includes all addons (e.g., both linuxthreads and NPTL)
> # Usage: grab.sh YYYYMMDD
> # Creates glibc-YYYYMMDD.tar.gz
> mkdir temp.$$
> cd temp.$$
> mkdir CVS
> echo ":pserver:anoncvs@sources.redhat.com:/cvs/glibc" > CVS/Root
> cvs co -D$1 libc
> mv libc glibc-$1
> tar --exclude CVS -czf ../glibc-$1.tar.gz glibc-$1
> cd ..
> rm -rf temp.$$

Generally, I'd suggest using either -D or -rHEAD ...

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

Attachment: signature.asc
Description: Digital signature


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