From: ceriel Date: Fri, 30 Jan 1987 18:12:57 +0000 (+0000) Subject: error exit when compilation fails X-Git-Tag: release-5-5~4857 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=076354168e86e1cc194741a4739416cf671e9bab;p=ack.git error exit when compilation fails --- diff --git a/mach/6500/libbc/compmodule b/mach/6500/libbc/compmodule index 284613267..881f78da9 100755 --- a/mach/6500/libbc/compmodule +++ b/mach/6500/libbc/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 diff --git a/mach/6500/libcc/compmodule b/mach/6500/libcc/compmodule index 284613267..881f78da9 100755 --- a/mach/6500/libcc/compmodule +++ b/mach/6500/libcc/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