Rob Landley wrote:
All you need is an || exit 1 on the command line so the build _stops_ and the error message doesn't get buried by other stuff.

I tend to do big stacks of:

thing &&
thing &&
thing &&
thing &&
thing || exit 1
Why not just use "set -e" in the shell?
It will exit on any error, without making everything harder to write and to read.

Ralf Friedl
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to