Error exit when compilation failes

This commit is contained in:
ceriel 1987-01-30 18:11:08 +00:00
parent 4b489cd254
commit 9390536d79

View file

@ -1,2 +1,4 @@
${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`.s
else exit 1
fi