1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-22 23:26:27 +02:00

mkmk-simple: exit with an error code if "gp2rml" fails

This commit is contained in:
Werner Almesberger 2011-09-01 12:02:37 -03:00
parent 5651a40230
commit 98b0e961ae

View File

@ -85,8 +85,8 @@ EOF
yi=`expr $yi + 1`
done
gp2rml $CLEARANCE 0.5 0.5 mill.gp >mill.rml
gp2rml $CLEARANCE 0.1 0.5 drill.gp >drill.rml
gp2rml $CLEARANCE 0.5 0.5 mill.gp >mill.rml || exit
gp2rml $CLEARANCE 0.1 0.5 drill.gp >drill.rml || exit
cat <<EOF >Makefile.mkmk