summaryrefslogtreecommitdiff
path: root/testing/scripts/build-guestkernel
diff options
context:
space:
mode:
Diffstat (limited to 'testing/scripts/build-guestkernel')
-rwxr-xr-xtesting/scripts/build-guestkernel2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/scripts/build-guestkernel b/testing/scripts/build-guestkernel
index 40aa1b4f1..17f22bd83 100755
--- a/testing/scripts/build-guestkernel
+++ b/testing/scripts/build-guestkernel
@@ -14,7 +14,7 @@ cd $BUILDDIR
if [ ! -f "$KERNELTARBALL" ]
then
- url=ftp://ftp.kernel.org/pub/linux/kernel/v3.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