wok-6.x diff linux-source/stuff/get-linux-source @ rev 14244
linux-source: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 23 14:31:05 2013 +0100 (2013-03-23) |
parents | 181077a51c57 |
children | f15c857e3e67 |
line diff
1.1 --- a/linux-source/stuff/get-linux-source Tue Nov 27 02:58:37 2012 +0200 1.2 +++ b/linux-source/stuff/get-linux-source Sat Mar 23 14:31:05 2013 +0100 1.3 @@ -5,7 +5,7 @@ 1.4 SOURCES_REPOSITORY=$SLITAZ_DIR/$SLITAZ_VERSION/src 1.5 VERSION=XXX 1.6 1.7 -url=$(cat /usr/src/kernel-patches/slitaz/url) 1.8 +url=$(cat /usr/src/kernel-patches/slitaz/url | sed "s/-${VERSION:0:3}.tar/-$VERSION.tar/") 1.9 for i in http://linux-kernel.uio.no/pub http://www.gtlib.gatech.edu/pub/kernel.org http://www.kernel.org/pub ; do 1.10 busybox wget -s $url && break 1.11 url=$(echo $url | sed "s|.*/linux/kernel|$i/linux/kernel|")