From bd567632350944112dcd726168519257972b540a Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 19 Jan 1987 10:52:25 +0000 Subject: [PATCH] Added exit in case of compilation failure --- mach/z8000/libbc/compmodule | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.34.1