From 10d7e482964fd9fa93d96d0108c784b99587d06d 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 28461326..6327cb99 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