1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-23 01:14:04 +02:00
eda-tools/kicad-patches/kicad_diff.sh
2012-04-08 08:37:48 +02:00

10 lines
635 B
Bash
Executable File

#!/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