]> git.ozlabs.org Git - next-scripts/blob - get_gitid
check_fixes: cope with unicode quotation marks
[next-scripts] / get_gitid
1 #!/bin/sh
2
3 if [ "$1" = "${1#3}" ]; then
4         dir=v2.6
5 else
6         dir=v3.0
7 fi
8
9 wget -q -O - http://www.kernel.org/pub/linux/kernel/$dir/snapshots/patch-$1.id