From 1f04d6490acb32cf44b209aa9662c4a222ed3816 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Wed, 28 Jan 2015 13:59:59 -0300 Subject: [PATCH] cameo/templates/mkmk-simple: accept no only Gerber but also $NAME.gp as input --- cameo/templates/mkmk-simple | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cameo/templates/mkmk-simple b/cameo/templates/mkmk-simple index 9d3350d..437afa5 100755 --- a/cameo/templates/mkmk-simple +++ b/cameo/templates/mkmk-simple @@ -42,7 +42,8 @@ if [ "$ROT" ]; then rot="rotate $ROT" fi -edges= +edges=$NAME.gp +[ -r "$edges" ] || edges= for n in PCB_Edges.gbr Edge_Cuts.gbr Edge_Cuts.pho; do if [ -r "../$NAME-$n" ]; then edges=../$NAME-$n @@ -63,7 +64,8 @@ while [ $yi -lt $YN ]; do cameo <