From: Peter g. <pg...@co...> - 2009-01-13 00:11:34
|
Mon Jan 12 00:49:50 EST 2009 Peter Gavin <pg...@gm...> * mk/link-splitobjs.sh.in: add some error checking hunk ./mk/link-splitobjs.sh.in 14 +exitcode=0 hunk ./mk/link-splitobjs.sh.in 17 - cat ${lib}.list | while read file ; do @AR@ q ${lib} ${file} ; done + cat ${lib}.list | while read file ; do + @AR@ q ${lib} ${file} < /dev/null || { + exitcode=$? + break + } + done hunk ./mk/link-splitobjs.sh.in 24 - cat ${lib}.list | @XARGS@ @AR@ q ${lib} + cat ${lib}.list | @XARGS@ @AR@ q ${lib} || exitcode=$? hunk ./mk/link-splitobjs.sh.in 28 +exit $exitcode |