From 98b0e961ae4260de091680ce534518e9a970e79a Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Thu, 1 Sep 2011 12:02:37 -0300 Subject: [PATCH] mkmk-simple: exit with an error code if "gp2rml" fails --- cameo/templates/mkmk-simple | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cameo/templates/mkmk-simple b/cameo/templates/mkmk-simple index 682bc86..9ac3175 100755 --- a/cameo/templates/mkmk-simple +++ b/cameo/templates/mkmk-simple @@ -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 <Makefile.mkmk