summaryrefslogtreecommitdiff
path: root/contrib/hrw/check-kernel-updates.sh
blob: 7758baf69d8382023a57575b3b9e810d840a3649 (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