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] |
On 2004-07-05 at 06:25:13 Dan Kegel wrote: > #!/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.$$ 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: grab.sh YYYYMMDD # Creates glibc-YYYYMMDD.tar.gz mkdir -p temp.$$ cd temp.$$ cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/glibc co -D $1 -d glibc-$1 libc tar --exclude CVS -czf ../glibc-$1.tar.gz glibc-$1 cd .. rm -rf temp.$$
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |