This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc_update bug
- To: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- Subject: Re: gcc_update bug
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 15 May 2001 22:20:05 -0300
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <20010513181934Q.mitchell@codesourcery.com><200105150021.f4F0Lkt37518@latour.rsch.comm.mot.com>
On May 14, 2001, Loren James Rittle <rittle@latour.rsch.comm.mot.com> wrote:
>> + echo ' @for f in $?; do test ! -f $$f && exit 0; done; \' >> Makefile.$$
> For some reason, the above code (which is written into Makefile.$$)
> fails repeaedly with this wonderful error message:
> *** Error code 1
Oops, I forgot about this nit.
I'd generally prefer to rewrite this command as:
for f in $?; do test -f $$f || exit 0; done
so that all compound commands succeed.
If nobody opposes, I'll make this change.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me