testing: Fix kernel download URL for kernel versions != 4.x

This commit is contained in:
Tobias Brunner 2015-05-19 16:59:35 +02:00
parent 10b5e8bb45
commit c077642cbd
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ cd $BUILDDIR
if [ ! -f "$KERNELTARBALL" ]
then
url=ftp://ftp.kernel.org/pub/linux/kernel/v4.x/$KERNELTARBALL
url=ftp://ftp.kernel.org/pub/linux/kernel/v${KERNELVERSION:0:1}.x/$KERNELTARBALL
log_action "Downloading $url"
execute "wget -q $url"
fi