From: ceriel Date: Wed, 28 Jan 1987 17:26:52 +0000 (+0000) Subject: return exit status 1 when compilation failes X-Git-Tag: release-5-5~4900 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a5c0f64d5e26ba031a0b20c0ba4404e954e2334b;p=ack.git return exit status 1 when compilation failes --- diff --git a/mach/vax4/libcc/compmodule b/mach/vax4/libcc/compmodule index 491f6d251..a794a2257 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