]>
git.ipfire.org Git - people/ms/strongswan.git/blob - packaging/utils/kerneldiff
3 # wander through a FreeSWAN linux directory, comparing each file to
4 # a corresponding file in the argument $KERNELSRC directory, creating
5 # a diff that can be used to update the FreeSWAN source tree.
7 # This script is useful if you have used "make kernelpatch" to patch
8 # a kernel, and then had to edit the source code in the kernel tree.
10 # $Id: kerneldiff,v 1.1 2004/03/15 20:35:27 as Exp $
16 (cd linux
&& find .
-type f
-print) |
grep -v CVS |
egrep -v './Makefile' |
while read file
24 *.
$patchname.
patch) ;;
29 *) diff -u linux
/$file $KERNELSRC/$file ;;