aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-05-19 16:59:35 +0200
committerTobias Brunner <tobias@strongswan.org>2015-05-19 17:00:06 +0200
commitc077642cbd749716a174d906440ac3516ed723ad (patch)
tree84a0d14453341ccfd6838dee4f2096bd9c0c36f0 /testing/scripts
parent10b5e8bb456eb2f66815c198089cb1eb24378ef0 (diff)
downloadstrongswan-c077642cbd749716a174d906440ac3516ed723ad.tar.bz2
strongswan-c077642cbd749716a174d906440ac3516ed723ad.tar.xz
testing: Fix kernel download URL for kernel versions != 4.x
Diffstat (limited to 'testing/scripts')
-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 b408d7389..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/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