Navigation

Project: wok

Clone project: hg clone http://hg.slitaz.org/wok

  • Download tarball:
  • bz2
  • gz

Search

wok changeset 14244:890ca8bf8a3a

linux-source: fix version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 23 14:31:05 2013 +0100 (12 months ago ago)
parents 97c8c89c2212
children a07f343afac0
files linux-source/stuff/get-linux-source
line diff
     1.1 --- a/linux-source/stuff/get-linux-source	Sat Mar 23 10:06:31 2013 +0100
     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|")