diff options
author | 2015-04-15 00:15:43 +0100 | |
---|---|---|
committer | 2015-04-15 00:15:43 +0100 | |
commit | 7a621c1655acb331f685c29394ec313edc029415 (patch) | |
tree | a5b40c110c24e59bc11c8f81dc9be40df75e19c5 /rip-headers.sh | |
parent | initial 3.19 patchset based on last 3.18 patchset (diff) | |
download | linux-headers-patches-7a621c1655acb331f685c29394ec313edc029415.tar.gz linux-headers-patches-7a621c1655acb331f685c29394ec313edc029415.tar.bz2 linux-headers-patches-7a621c1655acb331f685c29394ec313edc029415.zip |
support 2.x/3.x/4.x URIs
Diffstat (limited to 'rip-headers.sh')
-rwxr-xr-x | rip-headers.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rip-headers.sh b/rip-headers.sh index ba6ea77..5a7bcc7 100755 --- a/rip-headers.sh +++ b/rip-headers.sh @@ -20,7 +20,7 @@ if [ ! -d ${src} ] ; then done fi if [ ! -d ${src} ] ; then - wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-${ver}.tar.xz -P /usr/portage/distfiles/ + wget https://www.kernel.org/pub/linux/kernel/v${ver:0:1}.x/linux-${ver}.tar.xz -P /usr/portage/distfiles/ exec "$0" "$@" fi |