From: keie Date: Tue, 4 Jun 1985 10:32:27 +0000 (+0000) Subject: Now prevents inclusion of failed compilations into libraries. X-Git-Tag: release-5-5~5458 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5acb12ebe0a05e0b13a48d56eca77fe9865e62ba;p=ack.git Now prevents inclusion of failed compilations into libraries. --- 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