What am I wanting to see after make check on glibc.

Kevin P. Fleming kpfleming at linuxfromscratch.org
Sat Nov 8 07:24:05 PST 2003


Pascal J.Bourguignon wrote:

> You can always write it as:
> 
>     make && echo "IKM03214: PROCESS COMPLETE, NO ERROR"\
>          || echo "IKM03219: PROCESS COMPLETE, ERROR(S) FOUND"

That won't work as written. If make succeeds, the "NO ERROR" message 
will be generated. If make fails, no messages will be generated, because 
the && will be short-circuited.

An alternative should work:

(make && echo "NO ERROR") || echo "ERROR FOUND"




More information about the lfs-support mailing list