problems with cvs -z9 update

Alexandre Oliva oliva@dcc.unicamp.br
Mon Aug 10 13:12:00 GMT 1998


Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:

> Again, thanks for the hint. Done.  (Interestingly ./configure does use
> -o as well!)

I'd call that a bug :-)

>> I don't think the `-A' should be here; it defeats the purpose of
>> egcs_latest_snapshot, for instance

> Indeed I thought about it and my idea was that for new users it might
> be useful. I have now made this easily configurable in my local version:

>   UPDATE_OPTIONS=-P

How about:

if test x"${1}"x = x"--nostdflags"x; then
    shift
else
    set -- -P -d ${1+"$@"}
fi

then call cvs as:

cvs -q update ${1+"$@"}

Then you could call:

contrib/egcs_update -r egcs_latest_snapshot

or:

contrib/egcs_update -A

or even:

contrib/egcs_update --nostdflags -P -r egcs_1_1_branch gcc/testsuite

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-patches mailing list