exit on compilation error

This commit is contained in:
ceriel 1987-01-19 10:36:27 +00:00
parent 035c115ca8
commit 4dda9a5183

View file

@ -1,4 +1,4 @@
if ${MACH?ack} -I../../../h ${MACHFL?} $1 1>&2 if ${MACH?ack} -I../../../h ${MACHFL?} $1 1>&2
then echo `basename $1 $2`.o then echo `basename $1 $2`.o
else rm -f `basename $1 $2`.o else exit 1
fi fi