diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-05-19 16:59:35 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-05-19 17:00:06 +0200 |
commit | c077642cbd749716a174d906440ac3516ed723ad (patch) | |
tree | 84a0d14453341ccfd6838dee4f2096bd9c0c36f0 /testing/scripts/build-guestkernel | |
parent | 10b5e8bb456eb2f66815c198089cb1eb24378ef0 (diff) | |
download | strongswan-c077642cbd749716a174d906440ac3516ed723ad.tar.bz2 strongswan-c077642cbd749716a174d906440ac3516ed723ad.tar.xz |
testing: Fix kernel download URL for kernel versions != 4.x
Diffstat (limited to 'testing/scripts/build-guestkernel')
-rwxr-xr-x | testing/scripts/build-guestkernel | 2 |
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 |