From c555ab4b4e091917e527f00e894424df255537ec Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 28 Jan 1987 17:26:52 +0000 Subject: [PATCH] return exit status 1 when compilation failes --- mach/vax4/libcc/compmodule | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mach/vax4/libcc/compmodule b/mach/vax4/libcc/compmodule index 491f6d25..a794a225 100755 --- a/mach/vax4/libcc/compmodule +++ b/mach/vax4/libcc/compmodule @@ -1,2 +1,4 @@ -${MACH?} -I../../../h ${MACHFL?} $1 1>&2 -echo `basename $1 $2`.o +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then echo `basename $1 $2`.o +else exit 1 +fi