return exit status 1 when compilation failes
This commit is contained in:
parent
160770d979
commit
a5c0f64d5e
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue