1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-18 02:22:27 +02:00
eda-tools/kicad-patches/kicad_diff.sh

10 lines
635 B
Bash
Raw Normal View History

2012-01-11 12:50:47 +02:00
#!/bin/bash
diff -u /dev/null kicad/eeschema/eeschema_cmdline.h > cmdline-new.patch
diff -u /dev/null kicad/eeschema/eeschema_cmdline.cpp >> cmdline-new.patch
diff -u /dev/null kicad/pcbnew/pcbnew_cmdline.h >> cmdline-new.patch
diff -u /dev/null kicad/pcbnew/pcbnew_cmdline.cpp >> cmdline-new.patch
diff -ru kicad.$1/include kicad/include | sed '/^Only in/d' > cmdline-common.patch
diff -ru kicad.$1/common kicad/common | sed '/^Only in/d' >> cmdline-common.patch
diff -ru kicad.$1/eeschema kicad/eeschema | sed '/^Only in/d' > cmdline-eeschema.patch
diff -ru kicad.$1/pcbnew kicad/pcbnew | sed '/^Only in/d' > cmdline-pcbnew.patch