From d608ec850d0fa9662ae785601380e7084e2b2ec8 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 28461326..081a9755 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