From e08fc18648132782bb0c6c2be904d05a554288a8 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Wed, 20 Feb 2019 14:25:00 +0100 Subject: rename library with underscore --- convert.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/convert.sh b/convert.sh index ae83567..5f9fdb9 100755 --- a/convert.sh +++ b/convert.sh @@ -92,8 +92,10 @@ ls Cryptech\ Alpha.sch rev02*sch | while read file; do num=$[$num + 1] done +mv Cryptech\ Alpha.lib Cryptech_Alpha.lib + # Replace slashes in component names, seems to not work in KiCAD nightly -ls Cryptech*Alpha.lib rev02*sch | while read file; do +ls Cryptech_Alpha.lib rev02*sch | while read file; do sed -i -e "s#I/SN#I_SN#g" "${file}" done -- cgit v1.2.3