diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2018-04-19 18:53:08 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2018-04-19 18:53:08 +0200 |
commit | a14015dcd95a61a01fb4409d4400d84cfc88c310 (patch) | |
tree | 3fab1571e54318f767a41ae980df720003063feb /convert.sh | |
parent | 0d7badadc5feb2aa741c4f2a8ab6ac025c3a7664 (diff) |
Replace slashes in component names, doesn't fly with KiCAD nightly
Diffstat (limited to 'convert.sh')
-rwxr-xr-x | convert.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -90,6 +90,11 @@ ls Cryptech\ Alpha.sch rev02*sch | while read file; do num=$[$num + 1] done +# Replace slashes in component names, seems to not work in KiCAD nightly +ls Cryptech\ Alpha.lib rev02*sch | while read file; do + sed -i -e "s#I/SN#I_SN#g" "${file}" +done + # Make further modifications to the layout using KiCAD's Python bindings test -d ../tmp || mkdir ../tmp cp "Cryptech Alpha.kicad_pcb" "../tmp/Cryptech Alpha.kicad_pcb.a2k-out" |