In message <[EMAIL PROTECTED]> you wrote: > On Wednesday 26 December 2007 17:03:43 Andreas Schwab wrote: > > Michael Buesch <[EMAIL PROTECTED]> writes: > > > > > + set +e > > > mkimage -A ppc -O linux -T kernel -C gzip -a 00000000 -e 00000000 \ > > > $uboot_version -d "$vmz" "$ofile" > > > + [ $? -eq 0 ] || exit 0 > > > + set -e > > > > mkimage ... || exit 0 > > Could you PLEASE increase your verbosity? > Why is mkimage || exit 0 any better than my test?
Because it works, while your's doesn't. Make runs each command in a new shell. Your "set +e" is in vain, and so is your test of the return code. Um... doesn't make throw an error anyway when the execution of mkimage fails? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] Success in marriage is not so much finding the right person as it is being the right person. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev