wok diff linux-source/stuff/get-linux-source @ rev 23493
updated python-http-parser (0.8.1 -> 0.8.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 06:37:47 2020 +0100 (2020-04-06) |
parents | db5b03f42dd9 |
children |
line diff
1.1 --- a/linux-source/stuff/get-linux-source Wed Jan 29 09:56:07 2014 +0100 1.2 +++ b/linux-source/stuff/get-linux-source Mon Apr 06 06:37:47 2020 +0100 1.3 @@ -7,12 +7,12 @@ 1.4 1.5 url=$(cat /usr/src/kernel-patches/slitaz/url | sed "s/-${VERSION:0:3}.tar/-$VERSION.tar/") 1.6 for i in http://linux-kernel.uio.no/pub http://www.gtlib.gatech.edu/pub/kernel.org http://www.kernel.org/pub ; do 1.7 - busybox wget -s $url && break 1.8 + busybox wget --spider $url && break 1.9 url=$(echo $url | sed "s|.*/linux/kernel|$i/linux/kernel|") 1.10 done 1.11 1.12 mirror_src=http://mirror.slitaz.org/sources/packages-$(cat /etc/slitaz-release) 1.13 -busybox wget -s $url || url=$mirror_src/l/$(basename $url) 1.14 +busybox wget --spider $url || url=$mirror_src/l/$(basename $url) 1.15 1.16 if [ ! -d $SOURCES_REPOSITORY ]; then 1.17 mkdir -p $SOURCES_REPOSITORY