On 09/08/2010 05:56 AM, Martin Zajíc <ZAJCA> wrote: [putolin]
> So i've rewrite gcc pass2 with last svn and it's working. > > I have another question about testing error. > I try to make LOG with '{....} 2>&1 | tee $BUILD_DIR/LOG_$PROGRAM.log' > but when I did it how can I test it for errors, becouse '$?' not > working even if the script inside ending with 'exit 1'. > ( make 2>&1 | tee -a ${LOG} && exit $PIPESTATUS ) -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page