return exit status 1 when compilation failes

This commit is contained in:
ceriel 1987-01-28 17:26:52 +00:00
parent 160770d979
commit a5c0f64d5e

View file

@ -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