From 5acb12ebe0a05e0b13a48d56eca77fe9865e62ba Mon Sep 17 00:00:00 2001 From: keie Date: Tue, 4 Jun 1985 10:32:27 +0000 Subject: [PATCH] Now prevents inclusion of failed compilations into libraries. --- mach/m68k2/libbc/compmodule | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mach/m68k2/libbc/compmodule b/mach/m68k2/libbc/compmodule index 284613267..6327cb991 100755 --- a/mach/m68k2/libbc/compmodule +++ b/mach/m68k2/libbc/compmodule @@ -1,2 +1,6 @@ -${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`.o +else + exit 1 +fi -- 2.34.1