return exit status 1 when compilation failes

This commit is contained in:
ceriel 1987-01-28 17:26:52 +00:00
parent 915e8e6521
commit c555ab4b4e

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