From: ceriel Date: Fri, 30 Jan 1987 18:11:08 +0000 (+0000) Subject: Error exit when compilation failes X-Git-Tag: release-5-5~4858 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=9390536d792ff42018e20efff81cb0983a968af8;p=ack.git Error exit when compilation failes --- diff --git a/mach/6500/libpc/compmodule b/mach/6500/libpc/compmodule index 284613267..881f78da9 100755 --- a/mach/6500/libpc/compmodule +++ b/mach/6500/libpc/compmodule @@ -1,2 +1,4 @@ -${MACH?} -I../../../h ${MACHFL?} $1 1>&2 -echo `basename $1 $2`.s +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then echo `basename $1 $2`.s +else exit 1 +fi