testing: Fix kernel download URL for kernel versions != 4.x
This commit is contained in:
@@ -14,7 +14,7 @@ cd $BUILDDIR
|
|||||||
|
|
||||||
if [ ! -f "$KERNELTARBALL" ]
|
if [ ! -f "$KERNELTARBALL" ]
|
||||||
then
|
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"
|
log_action "Downloading $url"
|
||||||
execute "wget -q $url"
|
execute "wget -q $url"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user