';' in makefiles.

Joseph H. Buehler jhpb@sarto.gaithersburg.md.us
Fri Sep 18 20:10:00 GMT 1998


Geoff Keating <geoffk@ozemail.com.au> writes:

> I just saw this line flash past, from `make install':
> 
> (cd include; \
>  tar -cf - .; exit 0) | (cd /home/geoffk/lib/gcc-lib/powerpc-unknown-linux-gnulibc1/egcs-2.91.57/include; tar xpBf - )
> /bin/sh: include: No such file or directory
> [pause while my existing egcs installation is trashed :-(]
> 
> The ';'s should be '&&'.  They should probably be '&&' _everywhere_ in
> the makefiles.

Yes.  There are lot of people writing shell scripts who have never
read the sh/ksh man pages.  :-(

Joe Buehler



More information about the Gcc-bugs mailing list