From 8290447d610bc6decbad2dde22e0578b6393b271 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Tue, 26 Sep 2017 12:20:54 +0200 Subject: less litter in the rev03-KiCAD directory --- convert.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/convert.sh b/convert.sh index 6f86a4d..9a8f639 100755 --- a/convert.sh +++ b/convert.sh @@ -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:" -- cgit v1.2.3