diff options
Diffstat (limited to 'convert.sh')
-rwxr-xr-x | convert.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -83,9 +83,11 @@ ls Cryptech\ Alpha.sch rev02*sch | while read file; do done # Make further modifications to the layout using KiCAD's Python bindings -cp "Cryptech Alpha.kicad_pcb" "Cryptech Alpha.kicad_pcb.a2k-out" +mkdir ../tmp +cp "Cryptech Alpha.kicad_pcb" "../tmp/Cryptech Alpha.kicad_pcb.a2k-out" ../fix-pcb.py "Cryptech Alpha.kicad_pcb" "Cryptech Alpha.kicad_pcb" -diff -u "Cryptech Alpha.kicad_pcb.before-fix-pcb" "Cryptech Alpha.kicad_pcb" || true +mv "Cryptech Alpha.kicad_pcb.before-fix-pcb" ../tmp +diff -u "../Cryptech Alpha.kicad_pcb.before-fix-pcb" "Cryptech Alpha.kicad_pcb" || true echo "" echo "Done. The leftovers from conversion is in ${altiumdir}, and you can start KiCad like this:" |