error exit when compilation fails

This commit is contained in:
ceriel
1987-01-30 18:12:57 +00:00
parent 1630b7c0fd
commit 8d61293220
2 changed files with 8 additions and 4 deletions

View File

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

View File

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