Make makegen/m4.sh report m4 failure by returning 1.
authorTaylor R Campbell <campbell@mumble.net>
Sat, 17 Apr 2010 05:28:16 +0000 (01:28 -0400)
committerTaylor R Campbell <campbell@mumble.net>
Sat, 17 Apr 2010 05:28:16 +0000 (01:28 -0400)
commit08d269fc89eb5962c29772b2fe41ae15a58b11c0
tree95ef40bb2ddc34b354e5c253e420108d6e5e93f2
parent3a90241189112af13937c37e9f94363e6c7708ef
Make makegen/m4.sh report m4 failure by returning 1.

Previously, the return code of m4 was totally ignored, because it was
invoked only in a pipeline not at the end.  Because of brain damage
in shell script, we have to use a temporary file to let the subshell
in which we run m4 report the failure to the script so that the
script can know to return 1.
src/microcode/makegen/m4.sh