retrieving glibc sources by date

Daniel Kegel
Tue Jul 6 17:18:00 GMT 2004

Dimitry Andric wrote:
> Why are you jumping through all those hoops with echo, mv, etc? Maybe
> it's simpler to do:
> #!/bin/sh
> # Script to retrieve glibc source via CVS as of a certain date
> # Includes all addons (e.g., both linuxthreads and NPTL)
> # Usage: YYYYMMDD
> # Creates glibc-YYYYMMDD.tar.gz
> mkdir -p temp.$$
> cd temp.$$
> cvs -d co -D $1 -d glibc-$1 libc
> tar --exclude CVS -czf ../glibc-$1.tar.gz glibc-$1
> cd ..
> rm -rf temp.$$

Ah, thanks!
- Dan

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list