summaryrefslogtreecommitdiff
path: root/contrib/hrw/check-kernel-updates.sh
blob: 389265a0579653841e456245f2ac289b57708658 (plain)
1
2
3
4
5
6
7
8
9

echo "fetching list of changelogs"
#echo "ls ChangeLog-*" |lftp ftp://www.kernel.org/pub/linux/kernel/v2.6/> changes.txt

for release in `seq 16 32`;
do
    LATEST=`grep ChangeLog-2.6.$release changes.txt | sed -e "s/^.*ChangeLog-2.6.$release.//g"| sort -n -r|head -n1`
    echo "latest patch: 2.6.$release.$LATEST"
done