aboutsummaryrefslogtreecommitdiff
path: root/convert.sh
diff options
context:
space:
mode:
Diffstat (limited to 'convert.sh')
-rwxr-xr-xconvert.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/convert.sh b/convert.sh
index 1cac09a..0f4fa25 100755
--- a/convert.sh
+++ b/convert.sh
@@ -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"