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 <