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

Pascal J.Bourguignon pjb at informatimago.com
Sat Nov 8 07:32:29 PST 2003


Kevin P. Fleming writes:
> 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"

% true && echo yes || echo no
yes
% false && echo yes || echo no
no
 

-- 
__Pascal_Bourguignon__
http://www.informatimago.com/



More information about the lfs-support mailing list