blob: 4889705fcb5330328f0d350d7ac151d88eadfa78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
SRCDIR=$1
PATCHDIR=$2
PATCHLIST=${PATCHDIR}/$3
do_patch()
{
cd ${SRCDIR}
for f in `cat ${PATCHLIST}` ; do
echo ${PATCHDIR}/$f
cat ${PATCHDIR}/$f | patch -p2
done
}
do_patch
|