2 # updates percona patches
5 patches=http://www.percona.com/mysql/$ver/patches
10 grep -v 'mysqld_safe_syslog.patch'
15 for patch in $(wget -q -O - $series | filter); do
17 wget -nv $patches/$patch -O $file
19 if [ -z "$(awk -vfile=$file -F/ '$2 == file{print}' CVS/Entries)" ]; then
21 ${branch:+cvs up -r $branch $file}
24 printf "Source%d:\t%s\n" $i $file >> percona.spec