From: ceriel Date: Mon, 19 Jan 1987 10:52:25 +0000 (+0000) Subject: Added exit in case of compilation failure X-Git-Tag: release-5-5~4966 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=bd567632350944112dcd726168519257972b540a;p=ack.git Added exit in case of compilation failure --- diff --git a/mach/z8000/libbc/compmodule b/mach/z8000/libbc/compmodule index 284613267..081a97551 100755 --- a/mach/z8000/libbc/compmodule +++ b/mach/z8000/libbc/compmodule @@ -1,2 +1,4 @@ -${MACH?} -I../../../h ${MACHFL?} $1 1>&2 -echo `basename $1 $2`.s +if ${MACH?ack} -I../../../h ${MACHFL?} $1 1>&2 +then echo `basename $1 $2`.s +else exit 1 +fi