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

This commit is contained in:
Tobias Brunner
2015-05-19 17:00:06 +02:00
parent 10b5e8bb45
commit c077642cbd
+1 -1
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