3 # RCSID $Id: kernel.patch.gen.sh,v 1.4 1999/04/06 04:54:30 rgb Exp $
6 kernelsrc=/usr/src/linux
7 [ "$1~" = "~" ] || kernelsrc=$1
9 # clean out destination file for all patch
10 #echo "">$patchdir/all
12 # find files to patch and loop
13 for i in `find . -name '*.preipsec'`
16 # strip off '.preipsec' suffix
19 # strip off './' prefix
23 #diff -u $i $j >>$patchdir/all
25 # convert '/' in filename to '.' to avoid subdirectories
26 sed -e 's/\//\./g' << EOI > /tmp/t
32 # *with* path from source root
33 #echo do diff -u $i $j '>' $patchdir/$l
35 echo "RCSID \$Id: kernel.patch.gen.sh,v 1.4 1999/04/06 04:54:30 rgb Exp $" >$patchdir/$l
36 diff -u $i $j >>$patchdir/$l
41 # $Log: kernel.patch.gen.sh,v $
42 # Revision 1.4 1999/04/06 04:54:30 rgb
43 # Fix/Add RCSID Id: and Log: bits to make PHMDs happy. This includes